Browse Source

Merge pull request #18 from anmol26s/patch-1

Force https
pull/25/head
frju365 8 years ago
committed by GitHub
parent
commit
a1523db4f1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      conf/nginx.conf

4
conf/nginx.conf

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

Loading…
Cancel
Save