-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update readme for nginx proxy manager config
- Loading branch information
1 parent
9b9a986
commit ec948d7
Showing
1 changed file
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. |