1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00

[fix] https redirection

This commit is contained in:
frju365 2018-08-22 10:29:02 +02:00 committed by GitHub
parent b9e35a919e
commit 87b58100e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,9 @@
location / {
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
proxy_pass http://localhost:__PORT__/;
add_header X-Frame-Options SAMEORIGIN;
proxy_set_header Host $host;