FlightAware Discussions

NGINX Reverse Proxy & Base URL

I am using PiAware and I want to put it behind my NGINX reverse proxy server. Having the ability to change the base url would make the process easier.

Is there a location to change the base url on PiAware?
Has anyone setup NGINX to work with PiAware and do you have a config you could share?

Just check the config files in

/etc/lighttpd/conf-enabled/

And adjust as needed.
Then

service lighttpd force-reload 

to restart lighttpd.

Not sure what exactly you want though.

I run PiAware behind a reverse proxy Apache server and have for years. What is the benefit of changing the base URL? I didn’t consider doing that but perhaps you could educate me in the advantages of doing that.
Thanks.