Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't modify localhost page #4240

Open
guilegel opened this issue Dec 17, 2024 · 1 comment
Open

Can't modify localhost page #4240

guilegel opened this issue Dec 17, 2024 · 1 comment

Comments

@guilegel
Copy link

Successfully following all these directives: https://notthebe.ee/blog/easy-ssl-in-homelab-dns01/ I have manged to expose my localhost externally providing a valid ssl certificate and using this yml configuration file:

version: "3.7"

services:

NGINX Proxy Manager service (without SQL)

npm:
image: jc21/nginx-proxy-manager:latest
container_name: nginx-proxy-manager
environment:
- DISABLE_IPV6=true
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
ports:
- "80:80"
- "443:443"
- "81:81" # Web UI for NGINX Proxy Manager
restart: unless-stopped
networks:
- npm_network

Web server (e.g., Nginx serving a simple webpage)

web:
image: nginx:latest
container_name: web
volumes:
- ./web_content:/usr/share/nginx/html
networks:
- npm_network
restart: unless-stopped

networks:
npm_network:
driver: bridge

The problem is that even if the content of the volume ./web_content:/usr/share/nginx/html is displayed correctly externally, the page that I reach when I search localhost or the ip address of the machine from internal network is different and it shows me the default nginx congratulation page (Congratulations!
You've successfully started the Nginx Proxy Manager.
If you're seeing this site then you're trying to access a host that isn't set up yet.
Log in to the Admin panel to get started.)

I want to be able to control what is displayed in this page but I am not able. Can you help me ?

@guilegel
Copy link
Author

Very trivial to solve, Settings (in nginx proxy manager) and I found the behaviours editing of the default webpage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant