We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64c52a5 commit 1157594Copy full SHA for 1157594
default.conf
@@ -7,6 +7,9 @@ server {
7
location / {
8
root /usr/share/nginx/html;
9
index index.html index.htm;
10
+
11
+ # https://stackoverflow.com/a/49314484/244009
12
+ rewrite ^([^.\?]*[^/])$ https://$http_host$1/ permanent;
13
}
14
15
#error_page 404 /404.html;
0 commit comments