Skip to content

Commit

Permalink
feat: update readme for nginx proxy manager config
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurFrin committed Jul 25, 2024
1 parent 9b9a986 commit ec948d7
Showing 1 changed file with 45 additions and 2 deletions.
47 changes: 45 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,49 @@ To shutdown all stack or just a specific one:
docker compose down
```

### Production
## Production

### config nginx proxy manager

**first login**: connect to @server_ip:81
- username: [email protected]
- password: changeme **! change admin info**

**proxy hosts**
Go to Hosts > Proxy Hosts and click on Add Proxy Host.

**frontend**
- Domain Names: yourdomain.example, www.yourdomain.example
- Scheme: http
- Forward Hostname / IP: frontend
- Forward Port: 80

**API**
- Domain Names: api.yourdomain.example
- Scheme: http
- Forward Hostname / IP: api
- Forward Port: 5000

**uploads**
- Domain Names : uploads.yourdomain.example
- Scheme : http
- Forward Hostname / IP : nginx-proxy-manager
- Forward Port : 81

in advanced add:
```
location / {
alias /var/www/uploads/;
autoindex on;
}
```

**SSL Config**
- check Force SSL
- select Request a new SSL certificate
- add email and save





Use Portainer for easier management. To install it, launch the script named "install-portainer.sh" and to access it you can check the service on port 9000.

0 comments on commit ec948d7

Please sign in to comment.