|
|
Home » U++ Library support » Skylark » how to setup Skylark on remote server?
|
|
|
|
|
Re: how to setup Skylark on remote server? [message #60519 is a reply to message #60514] |
Mon, 18 March 2024 10:38 |
|
Xemuth
Messages: 387 Registered: August 2018 Location: France
|
Senior Member |
|
|
Hello Forlano,
Doing a quick research about Apache reverse proxy:
To configure a reverse proxy on Apache, you will need the 'mod_proxy' module enabled. You can check if it is enabled by looking for LoadModule proxy_module in your httpd.conf file. If it is commented (preceded by a #), you must uncomment it and restart Apache.
Then in your local apache server configuration, you will have to configure all your applications endpoints by doing something like that:
< VirtualHost *:80 >
ServerName www.your_app.net
DocumentRoot /var/www/site_with_php
< /VirtualHost >
< VirtualHost *:80 >
ServerName www.your_app.net
ProxyPass "/skylark_app" " http://localhost:8080/"
< /VirtualHost >
ServerName is not mandatory. With this kind of configuration assuming you dont use the endpoint skylark_app with your php app. you will reach your localhost:8080 by typing your website address and adding /skylark_app to the url.
Don't forget to restart apach after updating the conf:
sudo systemctl restart httpd
Doc I used
hope it help
[Updated on: Wed, 20 March 2024 13:47] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Dec 08 23:51:36 CET 2024
Total time taken to generate the page: 0.01941 seconds
|
|
|