I have run Odoo 10.0 and 11.0 service on the same machine on different port (8010 and 8011) and want set up one Nginx service as reverse proxy for all of them.
I edited the Nginx's config file as below:
events {
}
http {
server {
listen 443 ssl;
ssl_certificate pem.crt;
ssl_certificate_key pem.key;
location /odoo10/ {
proxy_pass http://127.0.0.1:8010;
client_max_body_size 50m;
}
location /odoo11/ {
proxy_pass http://127.0.0.1:8011;
client_max_body_size 50m;
}
}
}
and hope to browse version 10.0 and 11.0 with url https://xx.xx.xx.xx/odoo10 and https://xx.xx.xx.xx/odoo11 respectively.
However, when I link to https://xx.xx.xx.xx/odoo10 the error 404 displayed:
"GET /odoo10/ HTTP/1.0" 404 -
There is same issue when I link to https://xx.xx.xx.xx/odoo11
So, Anyone have advise for this problem?
Această întrebare a fost marcată
5586
Vizualizări
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
2
sept. 24
|
5476 | ||
|
|
1
mai 24
|
5951 | ||
|
|
2
mai 24
|
17483 | ||
|
|
1
iun. 20
|
8906 | ||
|
|
2
iun. 16
|
16321 |