docker-webserver-nginx/rootfs-php74/app/nginx/default_nophp.conf
paspo d5e3e0148f
All checks were successful
continuous-integration/drone/push Build is passing
php7.4 image
2024-12-19 11:37:57 +01:00

34 lines
908 B
Plaintext

error_log /dev/stdout info;
access_log /dev/stdout;
server {
listen 80 default_server;
listen [::]:80 default_server;
root /data/www;
# server_name localhost;
#access_log /var/log/nginx/host.access.log main;
location / {
index index.html index.htm;
# autoindex on;
# autoindex_exact_size off;
# autoindex_format html;
# autoindex_localtime on;
}
gzip on;
gzip_proxied any;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript text/x-js image/x-icon font/woff2 font/woff application/x-font-woff;
gzip_vary on;
gzip_disable "msie6";
etag on;
if_modified_since exact;
add_header Pragma "public";
add_header Cache-Control "max-age=31536000, public";
include /etc/nginx/custom.d/*.conf;
}