mirror of
https://github.com/lleene/dockerconfig.git
synced 2025-07-23 16:58:32 +02:00
Cleanup env and security tokens
This commit is contained in:
26
config/nginx/inbox_location
Normal file
26
config/nginx/inbox_location
Normal file
@ -0,0 +1,26 @@
|
||||
|
||||
root /var/www/roundcube;
|
||||
index index.php index.html index.htm;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?q=$uri&$args;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
try_files $uri =404;
|
||||
fastcgi_keep_conn on;
|
||||
fastcgi_split_path_info ^(.+\.php)(.*)$;
|
||||
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;
|
||||
}
|
||||
|
||||
location ~ ^/(README|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~ ^/(bin|SQL)/ {
|
||||
deny all;
|
||||
}
|
Reference in New Issue
Block a user