G1sms/www/g1billet.conf

27 lines
651 B
Plaintext

server {
listen 9980;
server_name rock64.p2p.legal g1sms.local localhost 127.0.0.1;
index index.php index.html;
root /var/www/g1billet;
# set expiration of assets to MAX for caching
location ~* \.(ico|css|js|gif|jpe?g|png)(\?[0-9]+)?$ {
expires max;
log_not_found off;
}
# php parsing
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
error_log /var/log/nginx/g1billet_error.log;
access_log /var/log/nginx/g1billet_access.log;
}