User Tools

Site Tools


databaseandnetworkmanagement:enigma_nginx_config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
databaseandnetworkmanagement:enigma_nginx_config [2023/05/16 10:38] wflahertydatabaseandnetworkmanagement:enigma_nginx_config [2023/05/16 10:41] (current) wflaherty
Line 1: Line 1:
 +====== Enigma's Nginx Configuration ======
  
-##   +    ##   
-# You should look at the following URL's in order to grasp a solid understanding   +    # You should look at the following URL's in order to grasp a solid understanding   
-# of Nginx configuration files in order to fully unleash the power of Nginx.   +    # of Nginx configuration files in order to fully unleash the power of Nginx.   
-# https://www.nginx.com/resources/wiki/start/   +    # https://www.nginx.com/resources/wiki/start/   
-# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/   +    # https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/   
-# https://wiki.debian.org/Nginx/DirectoryStructure   +    # https://wiki.debian.org/Nginx/DirectoryStructure   
-#   +    #   
-# In most cases, administrators will remove this file from sites-enabled/ and   +    # In most cases, administrators will remove this file from sites-enabled/ and   
-# leave it as reference inside of sites-available where it will continue to be   +    # leave it as reference inside of sites-available where it will continue to be   
-# updated by the nginx packaging team.   +    # updated by the nginx packaging team.   
-#   +    #   
-# This file will automatically load configuration files provided by other   +    # This file will automatically load configuration files provided by other   
-# applications, such as Drupal or Wordpress. These applications will be made   +    # applications, such as Drupal or Wordpress. These applications will be made   
-# available underneath a path with that package name, such as /drupal8.   +    # available underneath a path with that package name, such as /drupal8.   
-#   +    #   
-# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.   +    # Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.   
-##   +    ##   
-   +     
-server {   +    server {   
- listen 80;   +        listen 80;   
- listen [::]:80;   +        listen [::]:80;   
- server_name observium.errigal.com;   +        server_name observium.errigal.com;   
-    +         
- location / {   +        location / {   
- proxy_pass http://localhost:6001;   +            proxy_pass http://localhost:6001;   
- proxy_set_header host $host;   +            proxy_set_header host $host;   
- proxy_set_header x-real-ip $remote_addr;   +            proxy_set_header x-real-ip $remote_addr;   
- }   +        }   
-}   +    }   
-   +     
-server {   +    server {   
- listen 80;   +        listen 80;   
- listen [::]:80;   +        listen [::]:80;   
- listen 443 ssl http2;   +        listen 443 ssl http2;   
- listen [::]:443 ssl http2;   +        listen [::]:443 ssl http2;   
- server_name docker.errigal.com;   +        server_name docker.errigal.com;   
-    +         
- ssl_certificate /etc/nginx/ssl/ssl_bundle.crt;   +        ssl_certificate /etc/nginx/ssl/ssl_bundle.crt;   
- ssl_certificate_key /etc/nginx/ssl/private-key.pem;   +        ssl_certificate_key /etc/nginx/ssl/private-key.pem;   
-    +         
- location / {   +        location / {   
- proxy_pass http://localhost:5001;   +            proxy_pass http://localhost:5001;   
- proxy_set_header host $host;   +            proxy_set_header host $host;   
- proxy_set_header x-real-ip $remote_addr;   +            proxy_set_header x-real-ip $remote_addr;   
- }   +        }   
-}   +    }   
-   +     
-server {   +    server {   
- listen 80;   +        listen 80;   
- listen [::]:80;   +        listen [::]:80;   
- server_name registry.errigal.com;   +        server_name registry.errigal.com;   
-    +         
- location / {   +        location / {   
- proxy_pass https://registry.errigal.com;   +            proxy_pass https://registry.errigal.com;   
- proxy_set_header host $host;   +            proxy_set_header host $host;   
- proxy_set_header x-real-ip $remote_addr;   +            proxy_set_header x-real-ip $remote_addr;   
- }   +        }   
-}   +    }   
-   +     
-server {   +    server {   
- listen 443 ssl http2;   +        listen 443 ssl http2;   
- listen [::]:443 ssl http2;   +        listen [::]:443 ssl http2;   
- server_name registry.errigal.com;   +        server_name registry.errigal.com;   
-    +         
- ssl_certificate /etc/nginx/ssl/ssl_bundle.crt;   +        ssl_certificate /etc/nginx/ssl/ssl_bundle.crt;   
- ssl_certificate_key /etc/nginx/ssl/private-key.pem;   +        ssl_certificate_key /etc/nginx/ssl/private-key.pem;   
-    +         
- location / {   +        location / {   
- proxy_pass https://localhost:5000;   +            proxy_pass https://localhost:5000;   
- proxy_set_header host $host;   +            proxy_set_header host $host;   
- proxy_set_header x-real-ip $remote_addr;   +            proxy_set_header x-real-ip $remote_addr;   
- }   +        }   
-}   +    }   
-   +     
-server {   +    server {   
- listen 80;   +        listen 80;   
- listen [::]:80;   +        listen [::]:80;   
- listen 443 ssl http2;   +        listen 443 ssl http2;   
- listen [::]:443 ssl http2;   +        listen [::]:443 ssl http2;   
- server_name logsearch.errigal.com;   +        server_name logsearch.errigal.com;   
-    +         
- ssl_certificate /etc/nginx/ssl/ssl_bundle.crt;   +        ssl_certificate /etc/nginx/ssl/ssl_bundle.crt;   
- ssl_certificate_key /etc/nginx/ssl/private-key.pem;   +        ssl_certificate_key /etc/nginx/ssl/private-key.pem;   
-    +         
- location / {   +        location / {   
- proxy_pass http://localhost:5601;   +            proxy_pass http://localhost:5601;   
- proxy_set_header Host $host;   +            proxy_set_header Host $host;   
- proxy_set_header X-Real-IP $remote_addr;   +            proxy_set_header X-Real-IP $remote_addr;   
- }   +        }   
-}   +    }   
-   +     
-server {   +    server {   
- listen 80;   +        listen 80;   
- listen [::]:80;   +        listen [::]:80;   
- listen 443 ssl http2;   +        listen 443 ssl http2;   
- listen [::]:443 ssl http2;   +        listen [::]:443 ssl http2;   
- server_name opsjenkins.errigal.com;   +        server_name opsjenkins.errigal.com;   
-    +         
-    +         
- ssl_certificate /etc/nginx/ssl/ssl_bundle.crt;   +        ssl_certificate /etc/nginx/ssl/ssl_bundle.crt;   
- ssl_certificate_key /etc/nginx/ssl/private-key.pem;   +        ssl_certificate_key /etc/nginx/ssl/private-key.pem;   
-    +         
- location / {   +        location / {   
- proxy_pass http://localhost:8080;   +            proxy_pass http://localhost:8080;   
- proxy_set_header Host $host;   +            proxy_set_header Host $host;   
- proxy_set_header X-Real-IP $remote_addr;   +            proxy_set_header X-Real-IP $remote_addr;   
- }   +        }   
-}   +    }   
-   +     
-   +     
-# Virtual Host configuration for example.com   +    # Virtual Host configuration for example.com   
-#   +    #   
-# You can move that to a different file under sites-available/ and symlink that   +    # You can move that to a different file under sites-available/ and symlink that   
-# to sites-enabled/ to enable it.   +    # to sites-enabled/ to enable it.   
-#   +    #   
-#server {   +    #server {   
-#       listen 80;   +    #       listen 80;   
-#       listen [::]:80;   +    #       listen [::]:80;   
-#   +    #   
-#       server_name example.com;   +    #       server_name example.com;   
-#   +    #   
-#       root /var/www/example.com;   +    #       root /var/www/example.com;   
-#       index index.html;   +    #       index index.html;   
-#   +    #   
-#       location / {   +    #       location / {   
-#               try_files $uri $uri/ =404;   +    #               try_files $uri $uri/ =404;   
-#       }   +    #       }   
-#}+    #}
  
databaseandnetworkmanagement/enigma_nginx_config.1684229890.txt.gz · Last modified: 2023/05/16 10:38 by wflaherty