Reverse proxy
This commit is contained in:
@@ -10,12 +10,12 @@ dnf install -y nginx || exit $?
|
||||
|
||||
cat <<- 'EOF' > /etc/nginx/conf.d/hartmanlab.conf
|
||||
server {
|
||||
listen 80 default_server;
|
||||
server_name localhost;
|
||||
location /cockpit {
|
||||
proxy_pass http://localhost:9090;
|
||||
proxy_redirect http://localhost:9090;
|
||||
}
|
||||
listen 80 default_server;
|
||||
server_name localhost;
|
||||
location /cockpit {
|
||||
proxy_pass http://localhost:9090;
|
||||
proxy_redirect http://localhost:9090;
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user