As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi,I followed the website documentation below:https://docs.alfresco.com/5.1/tasks/configure-ssl-prod.htmlAnd it didn't work to enable https.Have you come across this situation?With best regards,
What did not work? What are the issues exactly? Without any details, the situation is too vague to say "yeah, I have seen this". And no, I have not seen that - if the documentation is followed properly with full understanding of what needs to be done, and without skipping anything, it should work.
Hi afaust,Follow the settings nginx:
The settings in alfresco-global.properties I made as per documentation.Something is missing?
/etc/nginx/conf.dalfresco.conf
cat alfresco.conf | more
# Set proxy cache pathproxy_cache_path /var/cache/nginx/alfresco levels=1 keys_zone=alfrescocache:256m max_size=512m inactive=1440m;
# Alfresco Repository Tomcat instanceupstream alfresco {server localhost:8080;}
# Share Web client Tomcat instanceupstream share {server localhost:8080;}
# Default server config. Update server name.server {listen 80 ;listen [::]:80 ;proxy_redirect http://206.189.234.255 https://206.189.234.255;server_name 206.189.234.255;rewrite ^/$ /share;
root /opt/alfresco/www;index index.html index.htm;
# Redirect root requests to Share. Do not do this if you use AOS# rewrite ^/$ /share;
# redirect server error pages to the static page /50x.html#error_page 502 503 504 /maintenance.html;location = /maintenance.html {root /opt/alfresco/www;}
# Access to old Alfresco web client. Remove this location if not needed.location /alfresco {
# Allow for large file uploadsclient_max_body_size 0;
# Proxy all the requests to Tomcatproxy_http_version 1.1;#proxy_buffering off;proxy_pass http://alfresco;
proxy_set_header Proxy "";proxy_set_header Host $http_host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header X-Forwarded-Host $http_host;proxy_set_header X-Forwarded-Server $host;}
location /share/proxy/alfresco {# This section is for allowing to rewrite 50x response to 401 on Ajax req.# This forces Share to reload page, and thus display maintenance page
# Proxy all the requests to Tomcatproxy_http_version 1.1;#proxy_buffering off;proxy_pass http://share;
proxy_set_header Proxy "";proxy_set_header Host $http_host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header X-Forwarded-Host $http_host;proxy_set_header X-Forwarded-Server $host;proxy_intercept_errors on;error_page 502 503 504 =401 /maintenance.html;}
location /share/res/ {
# Proxy all the requests to Tomcatproxy_http_version 1.1;