%PDF- %PDF-
Direktori : /etc/nginx/sites-enabled/ |
Current File : //etc/nginx/sites-enabled/practiscore |
server { listen 10.27.27.5:443 ssl http2; server_name verify.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 root /www/varak.net/verify.varak.net/www; index index.html index.htm index.php; location / { autoindex on; autoindex_exact_size off; rewrite ^/match/([a-z0-9A-Z\-]+)/$ /index.php?action=match&uuid=$1 last; rewrite ^/match/([a-z0-9A-Z\-]+)/(.*)$ /index.php?action=match-shooter&uuid=$1&shooter=$2 last; } location ~ \.php$ { include fastcgi_params; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /www/varak.net/verify.varak.net/www$fastcgi_script_name; } } server { listen 10.27.27.5:80; server_name verify.varak.net; rewrite ^/(.*) https://verify.varak.net$request_uri permanent; } server { listen 10.27.27.5:443 ssl http2; server_name verify.alsaproteam.cz; include ssl_params; ssl_certificate /etc/letsencrypt/live/verify.alsaproteam.cz/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/verify.alsaproteam.cz/privkey.pem; # managed by Certbot root /www/varak.net/verify.varak.net/www; index index.html index.htm index.php; location / { autoindex on; autoindex_exact_size off; rewrite ^/match/([a-z0-9A-Z\-]+)/$ /index.php?action=match&uuid=$1 last; rewrite ^/match/([a-z0-9A-Z\-]+)/(.*)$ /index.php?action=match-shooter&uuid=$1&shooter=$2 last; } location ~ \.php$ { include fastcgi_params; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /www/varak.net/verify.varak.net/www$fastcgi_script_name; } } server { listen 10.27.27.5:80; server_name verify.alsaproteam.cz; rewrite ^/(.*) https://verify.alsaproteam.cz$request_uri permanent; }