%PDF- %PDF-
| Direktori : /var/lib/letsencrypt/backups/1717750720.2067971/ |
| Current File : //var/lib/letsencrypt/backups/1717750720.2067971/varak.net_8 |
server {
listen 10.27.27.5:80; listen 127.0.0.1; ## listen for ipv4
server_name wordpress.varak.net;
client_max_body_size 50m;
root /www/varak.net/wordpress.varak.net;
index index.php;
location / {
# This is cool because no php is touched for static content.
# include the "?$args" part so non-default permalinks doesn't break when using query string
try_files $uri $uri/ /index.php?$args;
#try_files $uri $uri/ /index.php?q=$uri&$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/varak.net/wordpress.varak.net$fastcgi_script_name;
}
}
server {
listen 10.27.27.5:443 ssl http2;
server_name wordpress.varak.net;
client_max_body_size 50m;
root /www/varak.net/wordpress.varak.net;
index index.php;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/varak.net-0001/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/varak.net-0001/privkey.pem; # managed by Certbot
location / {
# This is cool because no php is touched for static content.
# include the "?$args" part so non-default permalinks doesn't break when using query string
try_files $uri $uri/ /index.php?$args;
#try_files $uri $uri/ /index.php?q=$uri&$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/varak.net/wordpress.varak.net$fastcgi_script_name;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name mail2.varak.net;
client_max_body_size 50m;
root /www/varak.net/mail2.varak.net;
index index.php;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/varak.net-0001/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/varak.net-0001/privkey.pem; # managed by Certbot
location / {
# This is cool because no php is touched for static content.
# include the "?$args" part so non-default permalinks doesn't break when using query string
try_files $uri $uri/ /index.php?$args;
#try_files $uri $uri/ /index.php?q=$uri&$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/varak.net/mail2.varak.net$fastcgi_script_name;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
}
server {
listen 10.27.27.5:80;
server_name ludek.varak.net;
rewrite ^/(.*) https://ludek.varak.net$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name ludek.varak.net;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/varak.net-0001/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/varak.net-0001/privkey.pem; # managed by Certbot
location / {
root /ludek1;
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
}
# location ~ \.php$ {
# include fastcgi_params;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /www/varak.net/tbc.varak.net$fastcgi_script_name;
# }
}
server {
listen 10.27.27.5:80;
server_name stnfx.varak.net;
rewrite ^/(.*) https://stnfx.varak.net$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name stnfx.varak.net;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/varak.net-0001/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/varak.net-0001/privkey.pem; # managed by Certbot
location / {
root /www/varak.net/stnfx.varak.net;
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
}
}
server {
listen 10.27.27.5:80;
server_name softapp.varak.net;
rewrite ^/(.*) https://softapp.varak.net$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name softapp.varak.net;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/varak.net-0001/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/varak.net-0001/privkey.pem; # managed by Certbot
location / {
root /ludek2;
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
}
# location ~ \.php$ {
# include fastcgi_params;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /www/varak.net/tbc.varak.net$fastcgi_script_name;
# }
}
server {
listen 10.27.27.5:80;
server_name video.varak.net;
rewrite ^/(.*) https://video.varak.net$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name video.varak.net;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/varak.net-0001/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/varak.net-0001/privkey.pem; # managed by Certbot
# add_header "Public-Key-Pins-Report-Only" "pin-sha256=\"DEfB6oZEqmVbw7xhj3OT9urxywTO046j4eXuwPGbiBU=\"; pin-sha256=\"yeZsqWj0RbVofoH5G1eVLjgyrq7CVZIQGuuVVaOw3qY=\"; max-age=60; report-uri=\"https://report-uri.io/report/495632cc5dc0e8992e03505ce3bcfaf7/reportOnly\"";
# add_header "Content-Security-Policy-Report-Only" "default-src 'self' ; script-src 'self' https://maxcdn.bootstrapcdn.com https://content.jwplatform.com https://ajax.googleapis.com ; style-src 'self' https://maxcdn.bootstrapcdn.com; font-src 'self' ; upgrade-insecure-requests; report-uri https://report-uri.io/report/495632cc5dc0e8992e03505ce3bcfaf7/reportOnly ;";
client_max_body_size 50m;
location / {
root /www/varak.net/video.varak.net;
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
# try_files $uri $uri/ /index.php?$args;
limit_rate_after 10m;
limit_rate 3600k;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/varak.net/video.varak.net$fastcgi_script_name;
}
}
#server {
# listen 10.27.27.5:80;
# server_name shop.varak.net;
# rewrite ^/(.*) https://shop.varak.net$request_uri permanent;
#}
server {
listen 10.27.27.5:80;
server_name shop.varak.net;
# include ssl_params;
# ssl_certificate /home/waritko/cert/varak_net.pem;
# ssl_certificate_key /home/waritko/cert/varak_net.key;
# add_header "Public-Key-Pins-Report-Only" "pin-sha256=\"DEfB6oZEqmVbw7xhj3OT9urxywTO046j4eXuwPGbiBU=\"; pin-sha256=\"yeZsqWj0RbVofoH5G1eVLjgyrq7CVZIQGuuVVaOw3qY=\"; max-age=60; report-uri=\"https://report-uri.io/report/495632cc5dc0e8992e03505ce3bcfaf7/reportOnly\"";
root /www/varak.net/shop.varak.net;
index index.html index.htm index.php;
autoindex off;
autoindex_exact_size off;
##### Alien CONF
location = /install/sandbox/anything.php {
rewrite .* /install/sandbox/test.php last;
}
# Pass API requests to the webservice dispatcher
location ^~ /api/ {
rewrite ^/api/(.*) /webservice/dispatcher.php?url=$1 last;
}
# Block all files starting with ., like .htaccess
location ~ /\. {
deny all;
}
# Block all files with these extensions
location ~ \.(md|tpl)$ {
deny all;
}
# Directories explicitly allowed in directories blocked below
location ~ ^/docs/csv_import/ {
allow all;
}
# Block everything else in these directories
location ~ ^/(adminjanicka22/backups|adminjanicka22/export|adminjanicka22/import|adminjanicka22/tabs|classes|config|docs|download|install666|localization|log|override|tools|translations)/ {
deny all;
}
# 1 month expiry on other static stuff
# Also do the friendly URL rewrites
location ~* \.(eot|gif|ico|jpg|jpeg|otf|pdf|png|svg|swf|ttf|woff)$ {
rewrite ^/([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$1$2$3.jpg break;
rewrite ^/([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$1$2$3$4.jpg break;
rewrite ^/([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$1$2$3$4$5.jpg break;
rewrite ^/([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg break;
rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg break;
rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg break;
rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg break;
rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg break;
rewrite ^/c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ /img/c/$1$2$3.jpg break;
rewrite ^/c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ /img/c/$1$2.jpg break;
rewrite ^/images_ie/?([^/]+)\.(jpe?g|png|gif)$ /js/jquery/plugins/fancybox/images/$1.$2 break;
# next line is PSCSX-2790 bug workaround, fixed in 1.6.0.10
rewrite ^/[a-zA-Z]+/img/cms/(.*)$ /img/cms/$1 break;
# expires 1M;
# add_header Cache-Control public;
allow all;
}
# Block everything else in these directories
location ~ ^/img/cms/ {
deny all;
}
# 1 week expiry on CSS and JavaScript
# location ~ \.(css|js)$ {
# expires 1w;
# add_header Cache-Control public;
# allow all;
# }
# The rest is either served directly or passed on to the dispatcher
location / {
try_files $uri $uri/ /index.php?$args;
}
## END ALIEN
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/varak.net/shop.varak.net$fastcgi_script_name;
# fastcgi_param HTTPS On;
# fastcgi_param SSL On;
}
}
server {
listen 10.27.27.5:443 ssl http2;
server_name shop.varak.net;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/varak.net-0001/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/varak.net-0001/privkey.pem; # managed by Certbot
add_header "Public-Key-Pins-Report-Only" "pin-sha256=\"DEfB6oZEqmVbw7xhj3OT9urxywTO046j4eXuwPGbiBU=\"; pin-sha256=\"yeZsqWj0RbVofoH5G1eVLjgyrq7CVZIQGuuVVaOw3qY=\"; max-age=60; report-uri=\"https://report-uri.io/report/495632cc5dc0e8992e03505ce3bcfaf7/reportOnly\"";
root /www/varak.net/shop.varak.net;
index index.html index.htm index.php;
autoindex off;
autoindex_exact_size off;
##### Alien CONF
location = /install/sandbox/anything.php {
rewrite .* /install/sandbox/test.php last;
}
# Pass API requests to the webservice dispatcher
location ^~ /api/ {
rewrite ^/api/(.*) /webservice/dispatcher.php?url=$1 last;
}
# Block all files starting with ., like .htaccess
location ~ /\. {
deny all;
}
# Block all files with these extensions
location ~ \.(md|tpl)$ {
deny all;
}
# Directories explicitly allowed in directories blocked below
location ~ ^/docs/csv_import/ {
allow all;
}
# Block everything else in these directories
location ~ ^/(adminjanicka22/backups|adminjanicka22/export|adminjanicka22/import|adminjanicka22/tabs|classes|config|docs|download|install666|localization|log|override|tools|translations)/ {
deny all;
}
# 1 month expiry on other static stuff
# Also do the friendly URL rewrites
location ~* \.(eot|gif|ico|jpg|jpeg|otf|pdf|png|svg|swf|ttf|woff)$ {
rewrite ^/([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$1$2$3.jpg break;
rewrite ^/([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$1$2$3$4.jpg break;
rewrite ^/([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$1$2$3$4$5.jpg break;
rewrite ^/([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg break;
rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg break;
rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg break;
rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg break;
rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg break;
rewrite ^/c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ /img/c/$1$2$3.jpg break;
rewrite ^/c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ /img/c/$1$2.jpg break;
rewrite ^/images_ie/?([^/]+)\.(jpe?g|png|gif)$ /js/jquery/plugins/fancybox/images/$1.$2 break;
# next line is PSCSX-2790 bug workaround, fixed in 1.6.0.10
rewrite ^/[a-zA-Z]+/img/cms/(.*)$ /img/cms/$1 break;
# expires 1M;
# add_header Cache-Control public;
allow all;
}
# Block everything else in these directories
location ~ ^/img/cms/ {
deny all;
}
# 1 week expiry on CSS and JavaScript
# location ~ \.(css|js)$ {
# expires 1w;
# add_header Cache-Control public;
# allow all;
# }
# The rest is either served directly or passed on to the dispatcher
location / {
try_files $uri $uri/ /index.php?$args;
}
## END ALIEN
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/varak.net/shop.varak.net$fastcgi_script_name;
fastcgi_param HTTPS On;
fastcgi_param SSL On;
}
}
server {
listen 10.27.27.5:80;
server_name drilly.varak.net;
rewrite ^/(.*) https://drilly.varak.net$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name drilly.varak.net;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/varak.net-0001/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/varak.net-0001/privkey.pem; # managed by Certbot
#add_header "Public-Key-Pins-Report-Only" "pin-sha256=\"DEfB6oZEqmVbw7xhj3OT9urxywTO046j4eXuwPGbiBU=\"; pin-sha256=\"yeZsqWj0RbVofoH5G1eVLjgyrq7CVZIQGuuVVaOw3qY=\"; max-age=60; report-uri=\"https://waritko.report-uri.io/r/default/hpkp/reportOnly\"";
#add_header "Content-Security-Policy-Report-Only" "default-src 'self' ; script-src 'self' https://maxcdn.bootstrapcdn.com https://content.jwplatform.com https://ajax.googleapis.com ; style-src 'self' https://maxcdn.bootstrapcdn.com; font-src 'self' ; upgrade-insecure-requests; report-uri https://waritko.report-uri.io/r/default/csp/reportOnly ;";
client_max_body_size 50m;
location / {
root /www/varak.net/drilly.varak.net/www;
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
# try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/varak.net/drilly.varak.net/www$fastcgi_script_name;
}
}
server {
listen 10.27.27.5:80;
server_name suiteshooters.varak.net;
rewrite ^/(.*) https://www.suiteshooters.eu$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name suiteshooters.varak.net;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/luameter.varak.net/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/luameter.varak.net/privkey.pem; # managed by Certbot
rewrite ^/(.*) https://www.suiteshooters.eu$request_uri permanent;
}
#server {
# listen 10.27.27.5:443 ssl http2;
# server_name suiteshooterstest.varak.net;
#
# include ssl_params;
#ssl_certificate /etc/letsencrypt/live/suiteshooterstest.varak.net/fullchain.pem; # managed by Certbot
#ssl_certificate_key /etc/letsencrypt/live/suiteshooterstest.varak.net/privkey.pem; # managed by Certbot
#
#
# client_max_body_size 50m;
# location / {
# root /www/varak.net/suiteshooters.varak.net/www;
# index index.html index.htm index.php;
# autoindex on;
# autoindex_exact_size off;
# try_files $uri $uri/ /index.php?$args;
# }
# location ~ \.php$ {
# include fastcgi_params;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /www/varak.net/suiteshooters.varak.net/www$fastcgi_script_name;
# }
#}
server {
listen 10.27.27.5:80;
server_name trenink.varak.net;
rewrite ^/(.*) https://trenink.varak.net$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name trenink.varak.net;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/trenink.varak.net/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/trenink.varak.net/privkey.pem; # managed by Certbot
client_max_body_size 50m;
location / {
root /www/varak.net/trenink.varak.net/www;
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
# try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/varak.net/trenink.varak.net/www$fastcgi_script_name;
}
}
server {
listen 10.27.27.5:80;
server_name losik.varak.net;
rewrite ^/(.*) https://losik.varak.net$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name losik.varak.net;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/los.varak.net/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/los.varak.net/privkey.pem; # managed by Certbot
expires $expires_generic;
client_max_body_size 50m;
location / {
root /www/varak.net/losik.varak.net/www;
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
# try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/varak.net/losik.varak.net/www$fastcgi_script_name;
}
}
server {
listen 10.27.27.5:80;
server_name los.varak.net;
rewrite ^/(.*) https://los.varak.net$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name los.varak.net;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/los.varak.net/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/los.varak.net/privkey.pem; # managed by Certbot
client_max_body_size 50m;
location / {
root /www/varak.net/losik.varak.net/www;
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
# try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/varak.net/losik.varak.net/www$fastcgi_script_name;
}
}
server {
listen 10.27.27.5:80;
server_name csp.varak.net;
rewrite ^/(.*) https://csp.varak.net$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name csp.varak.net;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/csp.varak.net/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/csp.varak.net/privkey.pem; # managed by Certbot
client_max_body_size 50m;
location / {
root /www/varak.net/csp.varak.net;
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
# try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/varak.net/csp.varak.net$fastcgi_script_name;
}
}
#server {
# listen 10.27.27.5:443 ssl http2;
# server_name varak.net;
# rewrite ^/(.*) https://www.varak.net$request_uri permanent;
# include ssl_params;
#ssl_certificate /etc/letsencrypt/live/varak.net/fullchain.pem; # managed by Certbot
#ssl_certificate_key /etc/letsencrypt/live/varak.net/privkey.pem; # managed by Certbot
#}
server {
listen 10.27.27.5:80;
server_name practiscore.varak.net;
rewrite ^/(.*) https://practiscore.varak.net$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name practiscore.varak.net;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/practiscore.varak.net/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/practiscore.varak.net/privkey.pem; # managed by Certbot
client_max_body_size 50m;
location / {
root /www/varak.net/practiscore.varak.net/www;
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
# try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/varak.net/practiscore.varak.net/www$fastcgi_script_name;
}
}
server {
listen 10.27.27.5:80;
server_name shooting.varak.net;
rewrite ^/(.*) https://shooting.varak.net$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name shooting.varak.net;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/shooting.varak.net/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/shooting.varak.net/privkey.pem; # managed by Certbot
client_max_body_size 50m;
location / {
root /data/shooting;
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
# try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /data/shooting$fastcgi_script_name;
}
}
server {
listen 10.27.27.5:80;
server_name losbrno.varak.net;
rewrite ^/(.*) https://losbrno.varak.net$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name losbrno.varak.net;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/losbrno.varak.net/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/losbrno.varak.net/privkey.pem; # managed by Certbot
client_max_body_size 50m;
location / {
root /data/losbrno;
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
# try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /data/losbrno$fastcgi_script_name;
}
}
server {
listen 10.27.27.5:80;
server_name epgp.varak.net;
rewrite ^/(.*) https://epgp.varak.net$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name epgp.varak.net;
include ssl_params;
ssl_certificate /etc/letsencrypt/live/varak.net-0001/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/varak.net-0001/privkey.pem; # managed by Certbot
client_max_body_size 50m;
location / {
root /www/varak.net/epgp.varak.net;
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
# try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/varak.net/epgp.varak.net$fastcgi_script_name;
}
}