X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Fcyclo-www%2Flocal.conf;h=9a6ebd180a51015cc94a069ffd19b97155962919;hb=e6e3af9e9c06175ce7d8f42969408f87021c7139;hp=56b9f1c80b452522def41f541e6409cad1571509;hpb=c97e10b2504a559b023d5b14c46f337f0ee95027;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 56b9f1c..9a6ebd1 100644 --- a/etc/nginx/site.d/cyclo-www/local.conf +++ b/etc/nginx/site.d/cyclo-www/local.conf @@ -1 +1,7 @@ listen 80; +location ~ ^/administrator(/.*|$) { + return 301 https://$http_host$request_uri; + } +location ~ ^/apc(/.*|$) { + return 301 https://$http_host$request_uri; + }