mirror of
https://github.com/chatmail/relay.git
synced 2026-05-14 01:44:38 +00:00
fix nginx.conf
This commit is contained in:
committed by
missytake
parent
dcb614911a
commit
505ad36b36
@@ -2,7 +2,6 @@ user www-data;
|
||||
worker_processes auto;
|
||||
pid /run/nginx.pid;
|
||||
error_log stderr;
|
||||
access_log syslog:server=unix:/dev/log combined;
|
||||
|
||||
events {
|
||||
worker_connections 768;
|
||||
@@ -36,6 +35,8 @@ http {
|
||||
|
||||
server_name _;
|
||||
|
||||
access_log syslog:server=unix:/dev/log;
|
||||
|
||||
location / {
|
||||
# First attempt to serve request as file, then
|
||||
# as directory, then fall back to displaying a 404.
|
||||
@@ -81,5 +82,6 @@ http {
|
||||
listen [::]:443 ssl;
|
||||
server_name www.{{ config.domain_name }};
|
||||
return 301 $scheme://{{ config.domain_name }}$request_uri;
|
||||
access_log syslog:server=unix:/dev/log;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user