%PDF- %PDF-
| Direktori : /etc/nginx/sites-available/ |
| Current File : //etc/nginx/sites-available/suiteshooters.eu |
server {
listen 10.27.27.5:80;
server_name suiteshooters.eu;
rewrite ^/(.*) https://www.suiteshooters.eu$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name suiteshooters.eu;
ssl_certificate /etc/certificates/suiteshooters.eu.pem;
ssl_certificate_key /etc/certificates/suiteshooters.eu.key;
rewrite ^/(.*) https://www.suiteshooters.eu$request_uri permanent;
}
server {
listen 10.27.27.5:80;
server_name www.suiteshooters.eu;
rewrite ^/(.*) https://www.suiteshooters.eu$request_uri permanent;
}
server {
listen 10.27.27.5:443 ssl http2;
server_name www.suiteshooters.eu;
include ssl_params;
ssl_certificate /etc/certificates/suiteshooters.eu.pem;
ssl_certificate_key /etc/certificates/suiteshooters.eu.key;
client_max_body_size 50m;
root /www/suiteshooters.eu/www.suiteshooters.eu/www;
location / {
index index.html index.htm index.php;
autoindex on;
autoindex_exact_size off;
# try_files $uri $uri/ /index.php?$args;
}
location /css {
expires 24h;
}
location /js {
expires 24h;
}
location /fonts {
expires 24h;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/suiteshooters.eu/www.suiteshooters.eu/www$fastcgi_script_name;
}
}