Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- #replace <your_ip_here> with your ip address.
- listen <your_ip_here>:80; ## listen for ipv4; this line is default and implied
- #listen [::]:80 default ipv6only=on; ## listen for ipv6
- #location of your files
- root /srv;
- index index.html index.htm;
- # The name of your domain (virtual hosts)
- server_name localhost;
- location / {
- proxy_pass http://127.0.0.1:8000;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement