Movatterモバイル変換


[0]ホーム

URL:


Edit Sidebar
Add Group
View Sidebar
This space has{{ pending_patches_count }} change(s) pending forreview.

Adding Custom Domains to your Site

You can addmultiple custom domains for your site, just run:

bench setup add-domain [desired-domain]

On running the command you will be asked for which site you want to set the custom domain for.

You can also setup SSL for your custom domain by using the options:

 --ssl-certificate [path-to-certificate] --ssl-certificate-key [path-to-certificate-key]

Example:

 bench setup add-domain custom.erpnext.com --ssl-certificate /etc/letsencrypt/live/erpnext.cert --ssl-certificate-key /etc/letsencrypt/live/erpnext.key

Domain configuration is stored in the respective site's site_config.json

 "domains": [ { "ssl\_certificate": "/etc/letsencrypt/live/erpnext.cert", "domain": "erpnext.com", "ssl\_certificate\_key": "/etc/letsencrypt/live/erpnext.key" } ],

You will need to regenerate the nginx configuration by runnningbench setup nginx and reload the nginx service by runningsudo service nginx reload to put your custom domain in effect

Discard
Save
Was this article helpful?Give Feedback
Edit PageNew PageRevisionsPage Settings

Previous Page

Left

Next Page

Right

On this page

Review Changes← Back to Content
MessageStatusSpaceRaised ByLast update on



[8]ページ先頭

©2009-2025 Movatter.jp