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:
parent
3a6ace24f5
commit
c52db73eb6
1 changed files with 6 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue