Apache configuration with base URL

Hi there,
im new to n8n.io product,
by following the documentation, i have installed and running in my self hosted server using npm package, i would like to know how to configure a new based url to rather than using default url, and access using specific port in Apache configuration. by following documentation , i couldn’t understand the where to make changes in npm module,
https://docs.n8n.io/#/configuration?id=base-url

if there any suggestion would be helpful, thank you.

Hey, @sadeshwar94 welcome to the community.

If I understand well you gotta set an env variable. Depending on the OS you are running this might be different. The export command you saw in the documentation can be used either on OS X (mac) or Linux as far as I know.

If you are running window here is some info on how to do it: https://docs.oracle.com/en/database/oracle/r-enterprise/1.5.1/oread/creating-and-modifying-environment-variables-on-windows.html#GUID-DD6F9982-60D5-48F6-8270-A27EC53807D0

Just keep in mind that you have to set the env variable before running n8n in order for the change to take place.

Let me know if that helps. We are happy to help.

Regards

Ricardo

1 Like