Dernière activité 1740393244

For example, to pass HTTP-requests to docker containers

Révision 108d31baa96408a956ac706d6b96ba51bb822e34

mysrv.conf Brut
1server {
2 listen 80;
3 listen [::]:80;
4 server_name example.com # replace with your domain
5
6 access_log /var/log/nginx/access.log;
7 error_log /var/log/nginx/error.log;
8 #client_max_body_size 100M;
9
10 location / {
11 proxy_pass http://127.0.0.1:8080; # port on host bound to actual http-server
12 }
13}
14
15# if `curl -i <your domain>` shows 200 then you can use `certbot --nginx` to protect service with SSL
16