performa
performa copied to clipboard
Question on deploying in Apache server
Hi,
Nice application and I would like to set this up in my laboratory.
I was wondering, would it be possible to deploy performa directly into Apache webserver that I have already setup for other applications. Would copy the htdocs to Apache document root work? Do you have any documentation or any pointers for this? Sorry, to ask this, but would useful for users who are trying the same.
Appreciate any help.
Performa is itself its own web server, listening on its own port (default 5511
). You would have to use Apache's mod_proxy module to forward requests to Performa, based on a VirtualHost that you configure.
But API urls seems is hardcoded
https://i.imgur.com/5OVThCt.png
base_app_url - any action
It would be great if it's could run in a directory...
nginx.conf
location /performa/ {
proxy_pass http://localhost:5511/;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Accept-Encoding "";
proxy_redirect http://localhost:5511 https://domain.net/performa/;
}