diff options
| author | magikcypress <cyp@rouquin.me> | 2017-04-16 16:08:42 +0200 |
|---|---|---|
| committer | magikcypress <cyp@rouquin.me> | 2017-04-16 16:08:42 +0200 |
| commit | 2be310eefa3f86efba61a6df79fa70edf8cd20e8 (patch) | |
| tree | 5c6e677f2e7dc8eda3b5f450120d8cc5a72c1d50 /conf/nginx.conf | |
| parent | 9bddc797b46855a64e0a4e943dd3480f84b8b5a4 (diff) | |
| download | mastodon_ynh-2be310eefa3f86efba61a6df79fa70edf8cd20e8.tar.gz mastodon_ynh-2be310eefa3f86efba61a6df79fa70edf8cd20e8.tar.bz2 mastodon_ynh-2be310eefa3f86efba61a6df79fa70edf8cd20e8.zip | |
[fix] Clear code & fix install
Diffstat (limited to 'conf/nginx.conf')
| -rw-r--r-- | conf/nginx.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/nginx.conf b/conf/nginx.conf index 8ab2b9f..5ce3d7a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,4 @@ -location __PATH__ { +location / { if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; |
