Skip to content

Commit bc7b491

Browse files
committed
wip
Signed-off-by: Tamal Saha <[email protected]>
1 parent e028e32 commit bc7b491

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

default.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ server {
88
root /usr/share/nginx/html;
99
index index.html index.htm;
1010
# try_files $uri $uri/ =404;
11+
12+
rewrite ^([^.\?]*[^/])$ https://$http_host$1/ permanent;
1113
}
1214

1315
#error_page 404 /404.html;

0 commit comments

Comments
 (0)