Reverse proxy with nginx

This commit is contained in:
Maxime Helias
2018-06-21 23:20:17 +02:00
parent d9541dc3f8
commit 53a2f01ac5
4 changed files with 16 additions and 33 deletions

View File

@@ -0,0 +1,11 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
location / {
proxy_pass http://nginx;
}
}