y2kbug

RP

May 12th, 2020
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.46 KB | None | 0 0
  1. server {
  2.   listen 443 ssl;
  3.   server_name pos-api-alpha;
  4.   ssl_certificate /etc/nginx/certs/localhost.crt;
  5.   ssl_certificate_key /etc/nginx/certs/localhost.key;
  6.   location / {
  7.     proxy_pass http://pos-apollo-alpha:5000/;
  8.   }
  9. }
  10.  
  11. server {
  12.   listen 443 ssl;
  13.   server_name pos-api-dev;
  14.   ssl_certificate /etc/nginx/certs/localhost.crt;
  15.   ssl_certificate_key /etc/nginx/certs/localhost.key;
  16.   location / {
  17.     proxy_pass http://pos-apollo-dev:5000/;
  18.   }
  19. }
Add Comment
Please, Sign In to add comment