Hello 'El,
Please confirm: For ArcGIS 11.3 web hosting under NGINX, is the Web Adaptor required? What will be the NGINX virtual hosting configurations?
As of now we've setup below
1. Web-server
2. Portal
3. Data-Store + Server
Note: Using Ubuntu 22.04 OS.
Best Regards,
RP
Yes, you can use NGINX on your web server without a web adaptor. That will work fine. NGINX will need to listen on port 443 and you'll need to define a unique "location" directive for both Portal and Server and proxy to ports 7443 and 6443 respectively. Make sure to include the X-Forwarded-Host header as well that matches the hostname of the web server. Here is an example:
location /portal/ {
proxy_http_version 1.1;
proxy_pass https://example.domain.com:7443/arcgis/;
proxy_set_header X-Forwarded-Host "nginx.hostname.com";
}
location /server/ {
proxy_http_version 1.1;
proxy_pass https://example.domain.com:6443/arcgis/;
proxy_set_header X-Forwarded-Host "nginx.hostname.com";
}
You will also need to define the "WebContextURL" system property for both Portal and Server. More information on that can be found in the help doc.