<div dir="ltr">Did you follow the steps in <a href="http://keycloak.github.io/docs/userguide/keycloak-server/html/server-installation.html#d4e403">http://keycloak.github.io/docs/userguide/keycloak-server/html/server-installation.html#d4e403</a>?</div><div class="gmail_extra"><br><div class="gmail_quote">On 5 April 2016 at 05:06, Juan Diego <span dir="ltr">&lt;<a href="mailto:juandiego83@gmail.com" target="_blank">juandiego83@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br><br></div>I installed keycloak on a wildfly 10 server, I bought an installed the a certificate.  Everything seems to work accesing <a href="https://mydomain.com:8443/auth/" target="_blank">https://mydomain.com:8443/auth/</a><br><br></div>My problem comes with my reverse proxy.  I have other apps inside that wildfly, and they have their own domain and they work perfectly with the reverse proxy I set on. <br><br></div>When I access <a href="https://mydomain.com" target="_blank">https://mydomain.com</a>, i can see the first page of keycloak but none of the images work,the links are broken.<br><br><br></div><div>Should I enable something on my keycloak so it can work.<br><br></div><div>This is my block<br><br>upstream wildfly {<br>  server <a href="http://127.0.0.1:8443" target="_blank">127.0.0.1:8443</a> fail_timeout=0;<br>}<br><br><br>server {<br>       listen         80;<br>       server_name    <a href="http://mydomain.com" target="_blank">mydomain.com</a>;<br>       return         301 https://$server_name$request_uri;<br>}<br><br><br>server {<br>    listen 443 ssl;<br>    server_name  <a href="http://mydomain.com" target="_blank">mydomain.com</a>;<br><br>    ssl on;<br>    ssl_certificate /opt/wildfly/standalone/configuration/rrec/mydomain.com.crt;<br>    ssl_certificate_key /opt/wildfly/standalone/configuration/rrec/mydomain.com.rsa.key;<br>    access_log /var/log/nginx/mydomain.com-access.log;<br>    error_log /var/log/nginx/mydomain.com-error.log;<br><br><br>    location = / {<br>        return 301 <a href="https://mydomain.com/auth" target="_blank">https://mydomain.com/auth</a>;<br>    }<br><br><br>    location /auth {<br>        proxy_pass <a href="https://127.0.0.1:8443/auth/" target="_blank">https://127.0.0.1:8443/auth/</a>;<br>        proxy_set_header Host $host;<br>        proxy_set_header X-Real-IP $remote_addr;<br>        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br>        proxy_set_header X-Forwarded-Proto $scheme;<br>        proxy_set_header X-Forwarded-Port   443;<br>    }<br><br>}<br></div></div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>