astroport/www/g1sms.conf

30 lines
663 B
Plaintext
Raw Permalink Normal View History

2020-05-23 00:32:12 +02:00
server {
2020-05-23 02:14:39 +02:00
listen 10099;
listen [::]:10099;
2020-05-23 00:32:12 +02:00
2020-05-23 02:14:39 +02:00
root /var/www/loveland/g1sms;
2020-05-23 00:32:12 +02:00
2020-05-23 02:14:39 +02:00
server_name localhost 127.0.0.1;
2020-05-23 00:32:12 +02:00
index index.php index.html;
# 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/php_PHPVERSION_-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
2020-05-23 02:24:49 +02:00
error_log /var/log/nginx/g1sms.error.log;
access_log /var/log/nginx/g1sms.access.log;
2020-05-23 00:32:12 +02:00
}