Skip to content
Snippets Groups Projects
Select Git revision
  • b967aa7ad61bd74ec7de897d06174ae905544fbf
  • main default protected
  • optimize-storybook
  • OZG-8405-Alfa-Bearbeiter-auswählen-und-entfernen-Design
  • OZG-7986-mandat-anfragen
  • OZG-6978-prevent-other-pages-from-being-called
  • OZG-8378-ods-heading
  • OZG-8314-Alfa-Vorgang-Bearbeiter-Zuweisung-entfernen
  • testing-imports
  • storybook-improvements
  • OZG-7287-forward-saml-token
  • release-administration
  • OZG-8422-BenutzerSpeichern
  • release-info
  • release
  • OZG-7856_schadcode-scanner-e2e
  • OZG-7985-fix-sorting
  • OZG-8305-Create-webpack-sbom
  • tooltip-improvements
  • OZG-7714-UpgradeKeycloakDependencyTo25
  • OZG-8086-Admin-Datenanfrage-erstellen
  • 1.12.1-administration
  • 1.12.0-administration
  • 1.12.0-info
  • 2.27.0-alfa
  • 1.11.0-info
  • 1.11.0-administration
  • 2.26.0-alfa
  • 1.10.0-info
  • 1.10.0-administration
  • 2.25.0-alfa
  • 1.9.0-info
  • 1.9.0-administration
  • 2.24.0-alfa
  • 1.8.0-info
  • 1.8.0-administration
  • 2.23.0-alfa
  • 1.7.0-info
  • 1.7.0-administration
  • 2.22.0-alfa
  • 1.6.0-info
41 results

nginx.conf

Blame
  • nginx.conf 2.67 KiB
    # Verarbeitungsreihenfolge von location rules:
    # --------------------------------------------------------------------------------------------------------------------------------------------
    # Search-Order       Modifier       Description                                                        Match-Type        Stops-search-on-match
    # --------------------------------------------------------------------------------------------------------------------------------------------
    #     1st               =           The URI must match the specified pattern exactly                  Simple-string              Yes
    #     2nd               ^~          The URI must begin with the specified pattern                     Simple-string              Yes
    #     3rd             (None)        The URI must begin with the specified pattern                     Simple-string               No
    #     4th               ~           The URI must be a case-sensitive match to the specified Rx      Perl-Compatible-Rx      Yes (first match)
    #     4th               ~*          The URI must be a case-insensitive match to the specified Rx    Perl-Compatible-Rx      Yes (first match)
    #     N/A               @           Defines a named location block.                                   Simple-string              Yes
    # --------------------------------------------------------------------------------------------------------------------------------------------
    #
    # Regex Matches werden bevorzugt verwendet.
    # Mehr: https://stackoverflow.com/a/59846239/1546181
    pid /tmp/nginx.pid;
    worker_processes  1;
    
    events {
        worker_connections  1024;
    }
    
    http {
        include       mime.types;
        server_tokens off;
        access_log off;
        error_log stderr crit;
    
        server {
            listen 8080;
            server_name localhost;
    
           
    
            location / {
                root   /usr/share/nginx/html/design-system/;
                index  index.html index.htm;
    
                #add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
                #add_header Expires "0";
            }
            
    
    
            client_body_temp_path /tmp/client_temp;
            proxy_temp_path       /tmp/proxy_temp_path;
            fastcgi_temp_path     /tmp/fastcgi_temp;
            uwsgi_temp_path       /tmp/uwsgi_temp;
            scgi_temp_path        /tmp/scgi_temp;
    
            gzip on;
            gzip_min_length 1000;
            gzip_proxied expired no-cache no-store private auth;
            gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
        
    
            error_page   500 502 503 504  /50x.html;
            location = /50x.html {
                root html;
            }
        }
    }