server { listen 80; server_name _; location = /fb-oo-hook.js { alias /etc/nginx/conf.d/fb-oo-hook.js; default_type application/javascript; add_header Cache-Control "no-store"; } location = /fb-brand-hook.js { alias /etc/nginx/conf.d/fb-brand-hook.js; default_type application/javascript; add_header Cache-Control "no-store"; } location = /fb-theme-hook.js { alias /etc/nginx/conf.d/fb-theme-hook.js; default_type application/javascript; add_header Cache-Control "no-store"; } location = /fb-search.js { alias /etc/nginx/conf.d/fb-search.js; default_type application/javascript; add_header Cache-Control "no-store"; } location = /fb-root-filter.js { alias /etc/nginx/conf.d/fb-root-filter.js; default_type application/javascript; add_header Cache-Control "no-store"; } location = /fb-theme.css { alias /etc/nginx/conf.d/fb-theme.css; default_type text/css; add_header Cache-Control "no-store"; } location = /fb-search.css { alias /etc/nginx/conf.d/fb-search.css; default_type text/css; add_header Cache-Control "no-store"; } location = /search { alias /etc/nginx/conf.d/fb-search.html; default_type text/html; add_header Cache-Control "no-store"; } location ~ ^/fb-wallpaper/(frappe|latte|macchiato|mocha|preview)\.webp$ { alias /etc/nginx/conf.d/$1.webp; default_type image/webp; add_header Cache-Control "no-store"; } location = /fb-logo.png { alias /opt/fb-assets/log.png; default_type image/png; add_header Cache-Control "no-store"; } location / { proxy_pass http://filebrowser:80; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_read_timeout 3600; proxy_set_header Accept-Encoding ""; sub_filter_once off; sub_filter_types text/html; sub_filter "" ""; sub_filter "" ""; } }