Browse Source

[fix] Correct alias in nginx.conf for installation at root domain

pull/4/head
Jérôme Lebleu 10 years ago
parent
commit
285a1c3eec
  1. 2
      conf/nginx.conf

2
conf/nginx.conf

@ -1,5 +1,5 @@
location #LOCATION# { location #LOCATION# {
alias #DESTDIR#;
alias #DESTDIR#/;
if ($scheme = http) { if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;

Loading…
Cancel
Save