0

Nginx Reverse Proxy CSS Error

Drew Carpenter 1 year ago updated 1 year ago 1

I have my Ubooquity instance going through a Nginx reverse proxy. I have the admin page working just fine with no errors but the main page displays just the text (No CSS) and the Chrome console reports

(I cut off half the error messagege because it includes my FQDN)

My nginx config is the following

```

server {
server_name books.FQDN.com;
listen 443 ssl http2;

access_log /var/log/nginx/ubooquity_access.log;
#access_log off;
error_log /var/log/nginx/ubooquity_error.log;

location / {
proxy_pass http://127.0.0.1:2202;
}

location /admin {
proxy_pass http://127.0.0.1:2203/admin;
}

location /admin-res {
proxy_pass http://127.0.0.1:2203/admin-res;
}

location /admin-api {
proxy_pass http://127.0.0.1:2203/admin-api;
}
}

```

Well I feel dumb.... Cloudflare was caching a bad nginx page I guess...  Oops!