dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ajout : cyclocoop.org : force /administrator en https:// .
[lhc/ateliers.git]
/
etc
/
nginx
/
site.d
/
cyclo-www
/
local.conf
diff --git
a/etc/nginx/site.d/cyclo-www/local.conf
b/etc/nginx/site.d/cyclo-www/local.conf
index
56b9f1c
..
3d4d2a8
100644
(file)
--- a/
etc/nginx/site.d/cyclo-www/local.conf
+++ b/
etc/nginx/site.d/cyclo-www/local.conf
@@
-1
+1,4
@@
listen 80;
+location ~ ^/administrator(/.*|$) {
+ return 301 https://$host$request_uri;
+ }