fix nginx config to only match the log paths exactly
[matches/MCTX3420.git] / 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