X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fnginx%2Fsite.d%2Fcyclo-www%2Flocal.conf;fp=etc%2Fnginx%2Fsite.d%2Fcyclo-www%2Flocal.conf;h=9a6ebd180a51015cc94a069ffd19b97155962919;hb=e6e3af9e9c06175ce7d8f42969408f87021c7139;hp=3d4d2a8c50dda9bba63f4713c90dedfd8b27866b;hpb=4361110f7ef56eaaf6e4d545dea27ded41031c1d;p=lhc%2Fateliers.git diff --git a/etc/nginx/site.d/cyclo-www/local.conf b/etc/nginx/site.d/cyclo-www/local.conf index 3d4d2a8..9a6ebd1 100644 --- a/etc/nginx/site.d/cyclo-www/local.conf +++ b/etc/nginx/site.d/cyclo-www/local.conf @@ -1,4 +1,7 @@ listen 80; location ~ ^/administrator(/.*|$) { - return 301 https://$host$request_uri; + return 301 https://$http_host$request_uri; + } +location ~ ^/apc(/.*|$) { + return 301 https://$http_host$request_uri; }