Skip to content
Snippets Groups Projects
Commit 2a95797c authored by Byron Biggs's avatar Byron Biggs
Browse files

Reverted some changes

parent 9e8cd6e3
Branches
No related tags found
No related merge requests found
......@@ -141,14 +141,14 @@ echo "=== Configuring NGINX as reverse proxy ==="
cat << EOF > /etc/nginx/conf.d/springboot.conf
server {
listen 80;
server_name _;
server_name localhost;
location / {
proxy_pass http://localhost:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host \$host;
proxy_set_header X-Real-IP \$remote_addr;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto \$scheme;
}
}
EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment