%PDF- %PDF-
| Direktori : /etc/nginx/sites-available/ |
| Current File : //etc/nginx/sites-available/pirozek.com |
# BEER
server {
listen 77.93.194.60:80; listen [2a01:430:12b:0:0:0:0:2]:80; listen 127.0.0.1; ## listen for ipv4
server_name beer.pirozek.com;
location / {
root /www/pirozek.com/beer.pirozek.com/www;
index index.html index.htm index.php;
autoindex off;
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/pirozek.com/beer.pirozek.com/www$fastcgi_script_name;
}
}
server {
listen 77.93.194.60:443 ssl http2; listen [2a01:430:12b:0:0:0:0:2]:443 ssl http2;
server_name beer.pirozek.com;
include ssl_params;
ssl_certificate /etc/nginx/cert.pem;
ssl_certificate_key /etc/nginx/cert.key;
location / {
root /www/pirozek.com/beer.pirozek.com/www;
index index.html index.htm index.php;
autoindex off;
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/pirozek.com/beer.pirozek.com/www$fastcgi_script_name;
}
}