2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2025-02-02 12:08:26 +00:00
frappe_docker/docs/tls-for-local-deployment.md

26 lines
868 B
Markdown
Raw Permalink Normal View History

# Accessing ERPNext through https on local deployment
2025-01-06 17:41:32 +05:30
- ERPNext container deployment can be accessed through https easily using Caddy web server, Caddy will be used as reverse proxy and forward traffics to the frontend container.
### Prerequisites
2025-01-06 17:41:32 +05:30
- Caddy
- Adding a domain name to hosts file
#### Installation of caddy webserver
2025-01-06 17:41:32 +05:30
- Follow the official Caddy website for the installation guide https://caddyserver.com/docs/install
2025-01-06 17:41:32 +05:30
After completing the installation open the configuration file of Caddy ( You find the config file in ` /etc/caddy/Caddyfile`), add the following configuration to forward traffics to the ERPNext frontend container
```js
2025-01-06 17:41:32 +05:30
erp.localdev.net {
tls internal
reverse_proxy localhost:8085 {
}
}
```
2025-01-06 17:41:32 +05:30
- Caddy's root certificate must be added to other computers if computers from different networks access the ERPNext through https.