Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen {port};
- listen {host:port};
- root {public dir};
- index index.html index.htm;
- server_name {domain name};
- location / {
- try_files $uri $uri/ =404;
- }
- location {/api/v1/} {
- proxy_pass {target path eg: www.whatever.com/api/};
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement