fix nginx config to only match the log paths exactly
authorJeremy Tan <[email protected]>
Mon, 30 Sep 2013 06:21:38 +0000 (14:21 +0800)
committerJeremy Tan <[email protected]>
Mon, 30 Sep 2013 06:21:38 +0000 (14:21 +0800)
server-configs/nginx/sites-enabled/mctxconfig

index 1be361a..97e46b6 100644 (file)
@@ -81,13 +81,13 @@ server {
                }
 
                #Program log
-               location ^~ /api/log {
+               location = /api/log {
                        alias /var/log/mctxserv.log;
                        default_type text/plain;
                }
 
                #Program error log
-               location ^~ /api/errorlog {
+               location = /api/errorlog {
                        alias /var/log/mctxserv-error.log;
                        default_type text/plain;
                }

UCC git Repository :: git.ucc.asn.au