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

Update nginx.conf

This commit is contained in:
frju365 2019-01-29 13:27:20 +01:00 committed by GitHub
parent 3a6ace24f5
commit c52db73eb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,6 @@
location / {
location __PATH__/ {
try_files $uri $uri/index.html;
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
@ -20,4 +22,3 @@ location ~ ^/(register|login|settings|user|pad|drive|poll|slide|code|whiteboard)
rewrite ^(.*)$ $1/ redirect;
}
try_files $uri $uri/index.html;