aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/nginx.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/nginx.conf b/conf/nginx.conf
index a6769a7..915061d 100644
--- a/conf/nginx.conf
+++ b/conf/nginx.conf
@@ -1,4 +1,11 @@
location __PATH__ {
+ alias __FINALPATH__/live/public;
+
+ if ($scheme = http) {
+ rewrite ^ https://$server_name$request_uri? permanent;
+ }
+
+
try_files $uri @proxy;
}