I want to change the base URL in a Linux environment
Answer¶
Please change the settings according to the following procedure.
Overview¶
When installing Pleasanter in a Linux or Docker environment according to the "Install on Linux" procedure in the manual, the URL will be as follows:
However, if you want to change this to a "Base URL" with a path such as
Please follow the steps below to set it up.
Notes¶
- If you perform this procedure on a running Pleasaner, attachments, description column, images pasted in comments, and site images (icons) will no longer be displayed. To resolve this, attach or paste again. Please consider carefully before changing the base URL while it is running.
Operation Procedure¶
To change the base URL, follow the steps below. The following steps use the base URL as an example.
- Pleasanter startup settings
- nginx proxy settings
- Setting the parameter file "Service.json"
- Restarting Pleasanter and nginx
*The file paths shown in the following steps are for when you install according to the procedure in "Install on Linux", so please read them appropriately according to your environment.
1. Start Set Pleasanter¶
Add the parameter "--pathBase=/nakano" to the end of ExecStart for the Pleasanter service script (/etc/systemd/system/pleasanter.service) as follows:
Before modification¶
After modification¶
2. Set nginx proxy¶
Add the path to the reverse proxy configuration file (/etc/nginx/conf.d/pleasanter.conf) in two places as follows.
Before modification¶
After modification¶
3. Set the parameter file Service.json¶
Set "AbsoluteUri" in "Service.json" as follows.
4. Restart pleasanter and nginx¶
Restart pleasanter and nginx using the following procedure.