mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Update nginx.conf
This commit is contained in:
parent
2c1aaac239
commit
f57f856d08
1 changed files with 0 additions and 5 deletions
|
@ -34,9 +34,4 @@ location __PATH__/ {
|
|||
#proxy_cache_use_stale timeout;
|
||||
#proxy_cache_lock on;
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
|
||||
# Yunohost addition: redirect HTTP to HTTPS
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue