25 lines
722 B
Plaintext
25 lines
722 B
Plaintext
|
server {
|
||
|
server_name pasta.lysergic.dev p.lsd25.dev p.lsd-25.dev;
|
||
|
listen 202.61.255.116:443;
|
||
|
listen [2a03:4000:55:d20::]:443;
|
||
|
root /mnt/gluster01/web/privatebin/PrivateBin;
|
||
|
index index.php;
|
||
|
charset utf-8;
|
||
|
disable_symlinks off;
|
||
|
|
||
|
ssl_certificate /etc/ssl/lysergic/fullchain.pem;
|
||
|
ssl_certificate_key /etc/ssl/lysergic/private/privkey.pem;
|
||
|
client_max_body_size 300M;
|
||
|
location / {
|
||
|
try_files $uri $uri/ /index.php$is_args$args;
|
||
|
}
|
||
|
|
||
|
location ~ \.php$ {
|
||
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||
|
include fastcgi_params;
|
||
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
||
|
fastcgi_index index.php;
|
||
|
fastcgi_pass 172.168.100.2:9100;
|
||
|
}
|
||
|
}
|