mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 00:22:28 +02:00
Initial version of nginx parser roundtrip test
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
user http;
|
||||
worker_processes 3;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
keepalive_timeout 65;
|
||||
gzip on;
|
||||
gzip_types text/plain text/css text/javascript
|
||||
application/javascript application/json
|
||||
application/xml;
|
||||
index index.html index.htm;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name .example.com;
|
||||
root /srv/http/my_app/public;
|
||||
location / {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_redirect off;
|
||||
proxy_pass http://unix:/var/run/my_app.sock:;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user