Dear Customers, Partners and Users,
The DRACOON API and DRACOON WebClient must access the URL https://brandingportal.ssp-europe.eu on a regular basis to synchronise version changes made to the central branding resources with locally cached information.
This may be an issue for users who operate our applications in heavily protected network areas.
Thankfully, a “Friend of DRACOON” gave this issue some thought and contributed the following scenario:
## Configuration Branding Server Proxy via nginx mkdir -p /var/www/branding/api/brandings/'branding id '/sds-web-ui/ cd /var/www/branding/api/brandings/'branding id'/sds-web-ui/ wget https://brandingportal.ssp-europe.eu/api/brandings/'branding id'/sds-web-ui/timestamp wget https://brandingportal.ssp-europe.eu/api/brandings/'branding id'/sds-web-ui/export Please add the following contents to the file **/etc/nginx/conf.d/brandingportal.conf**: server { listen 127.0.0.1:81; server_name localhost; server_tokens off; charset UTF-8; access_log /var/log/nginx/branding-access.log main; error_log /var/log/nginx/branding-error.log warn; root /var/www/branding/; location ~ ^/api/brandings/.*/sds-web-ui/timestamp { default_type "application/json;charset=UTF-8"; expires epoch; add_header X-Frame-Options "SAMEORIGIN"; add_header X-Content-Type-Options "nosniff"; add_header Last-Modified ""; add_header ETag ""; add_header Cache-Control no-store; add_header Pragma no-cache; } location ~ ^/api/brandings/.*/sds-web-ui/export { default_type "application/octet-stream;charset=UTF-8"; expires epoch; add_header X-Frame-Options "SAMEORIGIN"; add_header X-Content-Type-Options "nosniff"; add_header Last-Modified ""; add_header ETag ""; add_header Cache-Control no-store; add_header Pragma no-cache; add_header Content-Disposition 'attachment;filename="SSP_BRANDING_sds-web-ui.zip"'; } location / { index index.html; try_files $uri $uri/ /index.html; } # deny access to .htaccess files location ~ /\.ht { deny all; log_not_found off; access_log off; } }
We welcome any suggestions.
Thank you to F.T.!
We wish you every success!
Your DRACOON Team
Comments
0 comments
Article is closed for comments.