Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- events {}
- http {
- include /etc/nginx/mime.types;
- server {
- # listen 80; you can do not specify this directive but it is appreciated to explicitely be defined.
- listen 80;
- server_name 10.131.40.198;
- # server_name hostname.domain;
- root /home/ubuntu/frontend;
- location /api {
- # return 200 "halllo";
- proxy_pass http://127.0.0.1:9002/api;
- }
- location = /doc {
- proxy_pass http://127.0.0.1:9002/doc;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement