This commit is contained in:
2022-11-13 10:19:12 +01:00
parent d75cbb6fdb
commit c8fe500d18
3 changed files with 11 additions and 19 deletions

View File

@ -1,9 +0,0 @@
location / {
proxy_pass git.zathura.leene.dev;
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}

View File

@ -1,7 +1,6 @@
root /var/www/html/roundcubemail;
root /var/www/html/roundcube;
index index.php index.html index.htm;
client_max_body_size 128M;
location / {
try_files $uri $uri/ /index.php?q=$uri&$args;
@ -11,8 +10,8 @@ location ~ \.php$ {
try_files $uri =404;
fastcgi_keep_conn on;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_pass zathura.leene.dev;
fastcgi_index index.php;
fastcgi_pass inbox.zathura.leene.dev;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;