diff options
| author | magikcypress <cyp@rouquin.me> | 2017-04-09 16:56:56 +0200 |
|---|---|---|
| committer | magikcypress <cyp@rouquin.me> | 2017-04-09 16:56:56 +0200 |
| commit | c107ef6b2e2d4cdc4101f3cd24ee7bd29fa41b76 (patch) | |
| tree | dc6c352b3c0a6420a38e116909dc0e45502163aa /conf | |
| parent | 56c48a47324ffb851fb73654c0fc52049fae5b31 (diff) | |
| download | mastodon_ynh-c107ef6b2e2d4cdc4101f3cd24ee7bd29fa41b76.tar.gz mastodon_ynh-c107ef6b2e2d4cdc4101f3cd24ee7bd29fa41b76.tar.bz2 mastodon_ynh-c107ef6b2e2d4cdc4101f3cd24ee7bd29fa41b76.zip | |
[fix] bug install file
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/nginx.conf | 7 |
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; } |
