mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
Merge pull request #92 from YunoHost-Apps/add_redirection_to_https
Add redirection to https
This commit is contained in:
commit
d35431d9f0
1 changed files with 5 additions and 0 deletions
|
@ -1,4 +1,9 @@
|
|||
location __PATH__/ {
|
||||
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
proxy_pass http://localhost:__PORT__;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
|
|
Loading…
Add table
Reference in a new issue