2022-07-25 10:55:46 +00:00
|
|
|
upstream php-handler {
|
2022-12-21 11:20:28 +00:00
|
|
|
server unix:/var/run/php/php8.1-fpm.sock;
|
2022-07-25 10:55:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# Set the `immutable` cache control options only for assets with a cache busting `v` argument
|
|
|
|
map $arg_v $asset_immutable {
|
|
|
|
"" "";
|
|
|
|
default "immutable";
|
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
server_name nc.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion nextcloud.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
|
|
|
|
|
|
|
include common/nextcloud.conf;
|
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
server_name nc.vern.cc nextcloud.vern.cc;
|
|
|
|
include snippets/lets-encrypt.conf;
|
|
|
|
include common/nextcloud.conf;
|
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
listen [::]:80;
|
|
|
|
return 301 https://$host$request_uri;
|
|
|
|
server_name nc.vern.cc nextcloud.vern.cc;
|
|
|
|
}
|
2022-09-15 12:18:34 +00:00
|
|
|
server {
|
|
|
|
listen 11047;
|
|
|
|
listen [::]:11047;
|
|
|
|
server_name vernzluj2od67vbf5drxxrhzekslgxnym7zc3mxgx7tfqndgedha.b32.i2p;
|
|
|
|
include common/nextcloud.conf;
|
|
|
|
}
|