Configure nginx to emit logstash logs for access logs. Move all nginx config to a conf subdir. Rework nginx config to share common parts.
This commit is contained in:
parent
c13654bb52
commit
2b6c9149e8
20 changed files with 148 additions and 165 deletions
5
conf/hosted-http-base.conf
Normal file
5
conf/hosted-http-base.conf
Normal file
|
@ -0,0 +1,5 @@
|
|||
server {
|
||||
listen 80 default_server;
|
||||
server_name _;
|
||||
rewrite ^ https://$host$request_uri? permanent;
|
||||
}
|
Reference in a new issue