mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
Initial version of nginx parser roundtrip test
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
server {
|
||||
listen 127.0.0.1:80;
|
||||
listen [::1]:80;
|
||||
server_name webchat.domain.tld;
|
||||
return 301 $scheme://webchat.domain.tld:8080$request_uri;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
server {
|
||||
listen 127.0.0.1:80;
|
||||
listen [::1]:80;
|
||||
|
||||
server_name webchat.domain.tld;
|
||||
|
||||
access_log /home/web/log/qwebirc.access.log;
|
||||
error_log /home/web/log/qwebirc.error.log;
|
||||
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_buffering off;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:9090;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user