<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: HTTPS reverse proxy with NGINX in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/https-reverse-proxy-with-nginx/m-p/317298#M4299</link>
    <description>&lt;P&gt;Does this help? &lt;A href="https://doc.nuxeo.com/nxdoc/http-and-https-reverse-proxy-configuration/" target="test_blank"&gt;https://doc.nuxeo.com/nxdoc/http-and-https-reverse-proxy-configuration/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Feb 2022 17:21:12 GMT</pubDate>
    <dc:creator>Gregory_Carlin</dc:creator>
    <dc:date>2022-02-08T17:21:12Z</dc:date>
    <item>
      <title>HTTPS reverse proxy with NGINX</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/https-reverse-proxy-with-nginx/m-p/317297#M4298</link>
      <description>&lt;P&gt;Does anyone have an example of a working configuration with nginx reverse proxy?&lt;/P&gt;
&lt;P&gt;What is wrong with the configuration below?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;server {
        listen 80;
        server_name nuxeo.myserver.com;
        return 301 &lt;A href="https://$host$request_uri" target="test_blank"&gt;https://$host$request_uri&lt;/A&gt;;

}



server {

        listen 443 ssl;
    	server_name nuxeo.myserver.com;

    include snippets/ssl-generic.conf;

    ssl_certificate /etc/letsencrypt/live/nuxeo.myserver.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/nuxeo.myserver.com/privkey.pem;

	client_max_body_size 1024M;

    if ($scheme = http) {
        return 301 &lt;A href="https://$server_name$request_uri" target="test_blank"&gt;https://$server_name$request_uri&lt;/A&gt;;
}

    location / {
        rewrite ^/(.*)$ /nuxeo/$1 last;
    }

    location /nuxeo/ {
        proxy_pass &lt;A href="http://10.192.65.67:8080/nuxeo/" target="test_blank"&gt;http://10.192.65.67:8080/nuxeo/&lt;/A&gt;;
        proxy_set_header nuxeo-virtual-host "https://$server_name/";
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_pass_header Set-Cookie;
        proxy_connect_timeout 600;
        proxy_send_timeout 600;
        proxy_read_timeout 600;
        send_timeout 600;
        proxy_buffering off;
  }
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Feb 2022 13:23:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/https-reverse-proxy-with-nginx/m-p/317297#M4298</guid>
      <dc:creator>The_Mars_Mars</dc:creator>
      <dc:date>2022-02-07T13:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS reverse proxy with NGINX</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/https-reverse-proxy-with-nginx/m-p/317298#M4299</link>
      <description>&lt;P&gt;Does this help? &lt;A href="https://doc.nuxeo.com/nxdoc/http-and-https-reverse-proxy-configuration/" target="test_blank"&gt;https://doc.nuxeo.com/nxdoc/http-and-https-reverse-proxy-configuration/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 17:21:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/https-reverse-proxy-with-nginx/m-p/317298#M4299</guid>
      <dc:creator>Gregory_Carlin</dc:creator>
      <dc:date>2022-02-08T17:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS reverse proxy with NGINX</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/https-reverse-proxy-with-nginx/m-p/317299#M4300</link>
      <description>&lt;P&gt;Hi, thanks for replying, but unfortunately the only information about Nginx in that documentation url is&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 17:26:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/https-reverse-proxy-with-nginx/m-p/317299#M4300</guid>
      <dc:creator>The_Mars_Mars</dc:creator>
      <dc:date>2022-02-08T17:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS reverse proxy with NGINX</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/https-reverse-proxy-with-nginx/m-p/317300#M4301</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;    location /nuxeo/ {
        proxy_pass &lt;A href="http://10.192.65.67:8080/nuxeo/" target="test_blank"&gt;http://10.192.65.67:8080/nuxeo/&lt;/A&gt;;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Wouldn't this forward &lt;CODE&gt;/nuxeo/&lt;/CODE&gt; to &lt;CODE&gt;&lt;A href="http://.../nuxeo/nuxeo" target="test_blank"&gt;http://.../nuxeo/nuxeo&lt;/A&gt;&lt;/CODE&gt;? (nginx novice here)&lt;/P&gt;
&lt;P&gt;This is working for me.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;    location /nuxeo {
        proxy_ignore_client_abort on;
        proxy_set_header X-Forwarded-Host $server_name;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_buffering off;
        proxy_pass &lt;A href="http://127.0.0.1:8080" target="test_blank"&gt;http://127.0.0.1:8080&lt;/A&gt;;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Feb 2022 09:36:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/https-reverse-proxy-with-nginx/m-p/317300#M4301</guid>
      <dc:creator>Konrad_Krenzlin</dc:creator>
      <dc:date>2022-02-10T09:36:38Z</dc:date>
    </item>
  </channel>
</rss>

