Browse Source
Merge pull request #18 from anmol26s/patch-1
Force https
pull/25/head
frju365
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
conf/nginx.conf
|
|
|
@ -1,5 +1,9 @@ |
|
|
|
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; |
|
|
|
|