Reverse proxy

This commit is contained in:
2021-10-21 15:38:09 -04:00
parent 18c01097ac
commit 9c00e65826

View File

@@ -13,7 +13,7 @@ cat <<- 'EOF' > /etc/nginx/conf.d/hartmanlab.conf
server {
listen 80;
listen [::]:80;
server_name baeldung.com;
server_name localhost.cockpit;
location / {
proxy_pass http://127.0.0.1:9090/;
proxy_redirect http://127.0.0.1:9090/;
@@ -22,7 +22,7 @@ server {
server {
listen 80;
listen [::]:80;
server_name baeldung.com;
server_name localhost.robot;
location / {
proxy_pass http://127.0.0.1:8888/;
proxy_redirect http://127.0.0.1:8888/;