nginx-basic/etc/nginx/availableSites/testing_secure.conf
2019-01-04 03:29:35 -07:00

23 lines
475 B
Plaintext

#######
### NGINX server configuration
### Basic HTTPS test setup using default NGINX index page
#######
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
# specify server name(s)
include /etc/nginx/snippets/server_names.conf;
# SSL certificates for this server
include /etc/nginx/snippets/ssl/ssl_certs.conf;
location / {
try_files $uri $uri/ =404;
}
# error pages
include /etc/nginx/snippets/error_pages.conf;
}