Browse Source

[fix] Do not force HTTPS until Let's Encrypt is supported at least

pull/4/head
Jérôme Lebleu 10 years ago
parent
commit
b0ffe1939e
  1. 5
      conf/nginx.conf

5
conf/nginx.conf

@ -1,11 +1,6 @@
location {LOCATION} { location {LOCATION} {
alias {DESTDIR}/www/; alias {DESTDIR}/www/;
# Force HTTPS
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
# Default indexes and catch-all # Default indexes and catch-all
index index.html index.php; index index.html index.php;
try_files $uri $uri/ {PATH}/index.php?$args; try_files $uri $uri/ {PATH}/index.php?$args;

Loading…
Cancel
Save