You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the location / block is below the location ~ ^/(css|img|js|fonts)/ block, it takes precedence and Nginx looks for static files through the reverse proxy. All of my static files gave a 404 until I switched the order of the blocks. Here is the config that ended up working for me (keeping with the example).
Nevermind, I tested again and found that I must have coincidentally changed something else at the same time to make it work. This is no longer happening. Funny how I grabbed issue #404 though.
The Nginx config given on https://writefreely.org/start appears to be incorrect, and causes static files to not be found.
Current example config given on the site:
Since the
location /
block is below thelocation ~ ^/(css|img|js|fonts)/
block, it takes precedence and Nginx looks for static files through the reverse proxy. All of my static files gave a 404 until I switched the order of the blocks. Here is the config that ended up working for me (keeping with the example).And just in case, here is my actual working config from my server.
The text was updated successfully, but these errors were encountered: