You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
location /iiif/ {
proxy_http_version 1.1;
proxy_ssl_server_name on;
# Custom User-Agent
proxy_set_header User-Agent "Riksarkivet Proxy Example Nginx/1.0";
# Nollställ Do Not Track-header så att anrop via proxyn kan statistikföras
proxy_set_header DNT "0";
# Lägg till CORS header i response
add_header Access-Control-Allow-Origin *;
proxy_pass https://lbiiif.riksarkivet.se/;
}
Docker-container
Det finns en färdig konfiguration av Nginx i Docker/Docker-compose i detta repo i