Tag Info

Hot answers tagged

1

This should work: map $loc $loc_text { 11337 bar; 11419 restaurant; } map $style $style_text { 15477 painting; } rewrite ^/art/kartiny/location/(?P<loc>\d+)/style/(?P<style>\d+)$ /art/kartiny/location/$loc_text/style/$style_text redirect; See also http://nginx.org/en/docs/http/server_names.html#regex_names


1

The problem shown by your error log indicates that your location /forum/... is not being matched. location /forum/(images|language|sounds|templates|uploads|vendor|src\/modules|nodebb\.min\.js(\.map)?|stylesheet\.css|admin\.css) { alias /srv/minora.me/webservices/forum.minora.me/public/; } The problem I see here is that this isn't treated ...


1

It might be worth to check whether the caching happens on the client and not server-side. Firefox will cache any 301 (PERMANLTY moved)-redirecteds for a few days. Use 302 (temporary) redirect. To fix "old targets" you can set up an html page redirecting to another domain (e.g. without www) etc. to prevent firefox from using its cache.



Only top voted, non community-wiki answers of a minimum length are eligible