Hello Everyone,
I have:
..public_html\abc - Joomla (mais website)
..public_html\hrm - OragemHRM
..public_html\test - generic php folder
Nginx Conf
server{
....
root /home/public_html/abc;
index index.php index.html index.htm default.html default.htm;
location / {
try_files $uri $uri/ /index.php?q=$request_uri;
}
location /test {
root /home/public_html;
}
# Config form OrangeHRM
location /hrm {
root /home/public_html;
}
location /sf/ {
root /home/public_html/hrm/symphony/lib/vendor/symfony/data/web/;
}
Using this configuration, Joomla works fine (location /) but the others locations (folders) doesn't.
if i change the server root from:
root /home/public_html/abc;
to
root /home/public_html;
All folders (hrm and generic php) works fine, but joomla doesn't!
How can I control root's config for different locations?
In my old nginx server I had every folder inside joomla folder (like public_html\abc\hrm) - and everything worked great but for administration it was complicated.
Very thanks
I have:
..public_html\abc - Joomla (mais website)
..public_html\hrm - OragemHRM
..public_html\test - generic php folder
Nginx Conf
server{
....
root /home/public_html/abc;
index index.php index.html index.htm default.html default.htm;
location / {
try_files $uri $uri/ /index.php?q=$request_uri;
}
location /test {
root /home/public_html;
}
# Config form OrangeHRM
location /hrm {
root /home/public_html;
}
location /sf/ {
root /home/public_html/hrm/symphony/lib/vendor/symfony/data/web/;
}
Using this configuration, Joomla works fine (location /) but the others locations (folders) doesn't.
if i change the server root from:
root /home/public_html/abc;
to
root /home/public_html;
All folders (hrm and generic php) works fine, but joomla doesn't!
How can I control root's config for different locations?
In my old nginx server I had every folder inside joomla folder (like public_html\abc\hrm) - and everything worked great but for administration it was complicated.
Very thanks