Blame public/fs/etc/nginx/nginx.conf.in
|
root@culturestrings |
8f5160 |
worker_processes 1;
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
load_module lib64/nginx/modules/ngx_http_fancyindex_module.so;
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
events {
|
|
root@culturestrings |
8f5160 |
worker_connections 1024;
|
|
root@culturestrings |
8f5160 |
use epoll;
|
|
root@culturestrings |
8f5160 |
}
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
http {
|
|
root@culturestrings |
8f5160 |
include mime.types;
|
|
root@culturestrings |
8f5160 |
default_type application/octet-stream;
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
sendfile on;
|
|
root@culturestrings |
8f5160 |
tcp_nopush on;
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
keepalive_timeout 65;
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
include conf.d/*.conf;
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
server {
|
|
root@culturestrings |
8f5160 |
listen [::]:80 default_server ipv6only=off reuseport;
|
|
root@culturestrings |
8f5160 |
server_name localhost;
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
location / {
|
|
root@culturestrings |
8f5160 |
root /srv/www/htdocs/;
|
|
root@culturestrings |
8f5160 |
index index.html index.htm;
|
|
root@culturestrings |
8f5160 |
}
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
error_page 500 502 503 504 /50x.html;
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
location = /50x.html {
|
|
root@culturestrings |
8f5160 |
root /srv/www/htdocs/;
|
|
root@culturestrings |
8f5160 |
}
|
|
root@culturestrings |
8f5160 |
}
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
server {
|
|
root@culturestrings |
8f5160 |
listen [::]:443 default_server ssl http2 ipv6only=off reuseport;
|
|
root@culturestrings |
8f5160 |
server_name localhost;
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
cc67b0 |
ssl_certificate /srv/webroot/@hostzone@/ssl/fullchain.pem;
|
|
root@culturestrings |
cc67b0 |
ssl_certificate_key /srv/webroot/@hostzone@/ssl/privkey.pem;
|
|
root@culturestrings |
cc67b0 |
ssl_trusted_certificate /srv/webroot/@hostzone@/ssl/chain.pem;
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
location / {
|
|
root@culturestrings |
8f5160 |
root /srv/www/htdocs/;
|
|
root@culturestrings |
8f5160 |
index index.html index.htm;
|
|
root@culturestrings |
8f5160 |
}
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
error_page 500 502 503 504 /50x.html;
|
|
root@culturestrings |
8f5160 |
location = /50x.html {
|
|
root@culturestrings |
8f5160 |
root /srv/www/htdocs/;
|
|
root@culturestrings |
8f5160 |
}
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
}
|
|
root@culturestrings |
8f5160 |
|
|
root@culturestrings |
8f5160 |
include conf.d/ssl_params;
|
|
root@culturestrings |
8f5160 |
include vhosts.d/*.conf;
|
|
root@culturestrings |
8f5160 |
}
|