Explorar o código

Remove .conf and certs

Gabriel %!s(int64=6) %!d(string=hai) anos
pai
achega
e02f5f6576
Modificáronse 10 ficheiros con 0 adicións e 465 borrados
  1. 0 54
      conf.d/api.conf
  2. 0 54
      conf.d/base.conf
  3. 0 54
      conf.d/cablemodem.conf
  4. 0 66
      conf.d/dhcp.conf
  5. 0 54
      conf.d/ftth.conf
  6. 0 24
      conf.d/geoserver.conf
  7. 0 26
      conf.d/pma.conf
  8. 0 54
      conf.d/radius.conf
  9. 0 54
      conf.d/stats.conf
  10. 0 25
      conf.d/swagger.conf

+ 0 - 54
conf.d/api.conf

@@ -1,54 +0,0 @@
-server {
-    listen 80;
-    listen [::]:80;
-
-    server_name api.testdocker.flowdat.net;
-    return 301 https://api.testdocker.flowdat.net$request_uri;
-}
-
-server {
-    listen 443 ssl;
-    listen [::]:443;
-
-    server_name api.testdocker.flowdat.net;
-
-    ssl_certificate /etc/nginx/certs/fullchain.pem;
-    ssl_certificate_key /etc/nginx/certs/privkey.pem;
-
-    root /opt/api/web;
-
-    location /bundles/ {
-        root /opt/api/web;
-    }
-
-    location / {
-        try_files $uri /index.php$is_args$args;
-    }
-
-    # DEV
-    location ~ ^/(index_dev)\.php(/|$) {
-        fastcgi_pass unix:/tmp/api/api.sock;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
-        fastcgi_param DOCUMENT_ROOT $realpath_root;
-        fastcgi_ignore_client_abort on;
-	fastcgi_param REMOTE_ADDR $http_x_real_ip;
-    }
-
-    # PROD
-    location ~ ^/index\.php(/|$) {
-        fastcgi_pass unix:/tmp/api/api.sock;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
-        fastcgi_param DOCUMENT_ROOT $realpath_root;
-        fastcgi_ignore_client_abort on;
-	fastcgi_param REMOTE_ADDR $http_x_real_ip;
-        internal;
-    }
-
-    location ~ \.php$ {
-      return 404;
-    }
-}

+ 0 - 54
conf.d/base.conf

@@ -1,54 +0,0 @@
-server {
-    listen 80;
-    listen [::]:80;
-
-    server_name base.testdocker.flowdat.net;
-    return 301 https://base.testdocker.flowdat.net$request_uri;
-}
-
-server {
-    listen 443 ssl;
-    listen [::]:443;
-
-    server_name base.testdocker.flowdat.net;
-
-    ssl_certificate /etc/nginx/certs/fullchain.pem;
-    ssl_certificate_key /etc/nginx/certs/privkey.pem;
-
-    root /opt/base/web;
-
-    location /bundles/ {
-        root /opt/base/web;
-    }
-
-    location / {
-        try_files $uri /app.php$is_args$args;
-    }
-
-    # DEV
-    location ~ ^/(app_dev|config)\.php(/|$) {
-        fastcgi_pass unix:/tmp/base/base.sock;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
-        fastcgi_param DOCUMENT_ROOT $realpath_root;
-        fastcgi_ignore_client_abort on;
-	fastcgi_param REMOTE_ADDR $http_x_real_ip;
-    }
-
-    # PROD
-    location ~ ^/app\.php(/|$) {
-        fastcgi_pass unix:/tmp/base/base.sock;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
-        fastcgi_param DOCUMENT_ROOT $realpath_root;
-        fastcgi_ignore_client_abort on;
-	fastcgi_param REMOTE_ADDR $http_x_real_ip;
-        internal;
-    }
-
-    location ~ \.php$ {
-      return 404;
-    }
-}

+ 0 - 54
conf.d/cablemodem.conf

@@ -1,54 +0,0 @@
-server {
-    listen 80;
-    listen [::]:80;
-
-    server_name cablemodem.testdocker.flowdat.net;
-    return 301 https://cablemodem.testdocker.flowdat.net$request_uri;
-}
-
-server {
-    listen 443 ssl;
-    listen [::]:443;
-
-    server_name cablemodem.testdocker.flowdat.net;
-
-    ssl_certificate /etc/nginx/certs/fullchain.pem;
-    ssl_certificate_key /etc/nginx/certs/privkey.pem;
-
-    root /opt/cablemodem/web;
-    
-    location /bundles/ {
-        root /opt/cablemodem/web;
-    }
-
-    location / {
-        try_files $uri /app.php$is_args$args;
-    }
-
-    # DEV
-    location ~ ^/(app_dev|config)\.php(/|$) {
-        fastcgi_pass unix:/tmp/cablemodem/cablemodem.sock;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
-        fastcgi_param DOCUMENT_ROOT $realpath_root;
-        fastcgi_ignore_client_abort on;
-	fastcgi_param REMOTE_ADDR $http_x_real_ip;
-    }
-
-    # PROD
-    location ~ ^/app\.php(/|$) {
-        fastcgi_pass unix:/tmp/cablemodem/cablemodem.sock;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
-        fastcgi_param DOCUMENT_ROOT $realpath_root;
-        fastcgi_ignore_client_abort on;
-	fastcgi_param REMOTE_ADDR $http_x_real_ip;
-        internal;
-    }
-
-    location ~ \.php$ {
-      return 404;
-    }
-}

+ 0 - 66
conf.d/dhcp.conf

@@ -1,66 +0,0 @@
-server {
-    listen 80;
-    listen [::]:80;
-
-    server_name dhcp.testdocker.flowdat.net;
-    return 301 https://dhcp.testdocker.flowdat.net$request_uri;
-}
-
-map $http_upgrade $connection_upgrade {
-    default upgrade;
-    '' close;
-}
-
-server {
-    listen 443 ssl;
-    listen [::]:443;
-
-    server_name dhcp.testdocker.flowdat.net;
-
-    ssl_certificate /etc/nginx/certs/fullchain.pem;
-    ssl_certificate_key /etc/nginx/certs/privkey.pem;
-
-    root /opt/dhcp/web;
-
-    location /bundles/ {
-        root /opt/dhcp/web;
-    }
-
-    location / {
-        try_files $uri /app.php$is_args$args;
-    }
-
-    # 
-    location ~ ^/(app_dev|config)\.php(/|$) {
-        fastcgi_pass unix:/tmp/dhcp/dhcp.sock;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
-        fastcgi_param DOCUMENT_ROOT $realpath_root;
-        fastcgi_ignore_client_abort on;
-	fastcgi_param REMOTE_ADDR $http_x_real_ip;
-    }
-
-    # PROD
-    location ~ ^/app\.php(/|$) {
-        fastcgi_pass unix:/tmp/dhcp/dhcp.sock;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
-        fastcgi_param DOCUMENT_ROOT $realpath_root;
-        fastcgi_ignore_client_abort on;
-	fastcgi_param REMOTE_ADDR $http_x_real_ip;
-        internal;
-    }
-
-    location ~ \.php$ {
-      return 404;
-    }
-    
-    location /ws {
-        proxy_pass http://amqp:15674/ws;
-        proxy_http_version 1.1;
-        proxy_set_header Upgrade $http_upgrade;
-        proxy_set_header Connection $connection_upgrade;
-    }
-}

+ 0 - 54
conf.d/ftth.conf

@@ -1,54 +0,0 @@
-server {
-    listen 80;
-    listen [::]:80;
-
-    server_name ftth.testdocker.flowdat.net;
-    return 301 https://ftth.testdocker.flowdat.net$request_uri;
-}
-
-server {
-    listen 443 ssl;
-    listen [::]:443;
-
-    server_name ftth.testdocker.flowdat.net;
-
-    ssl_certificate /etc/nginx/certs/fullchain.pem;
-    ssl_certificate_key /etc/nginx/certs/privkey.pem;
-
-    root /opt/ftth/web;
-
-    location /bundles/ {
-        root /opt/ftth/web;
-    }
-
-    location / {
-        try_files $uri /app.php$is_args$args;
-    }
-
-    # DEV
-    location ~ ^/(app_dev|config)\.php(/|$) {
-        fastcgi_pass unix:/tmp/ftth/ftth.sock;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
-        fastcgi_param DOCUMENT_ROOT $realpath_root;
-        fastcgi_ignore_client_abort on;
-	fastcgi_param REMOTE_ADDR $http_x_real_ip;
-    }
-
-    # PROD
-    location ~ ^/app\.php(/|$) {
-        fastcgi_pass unix:/tmp/ftth/ftth.sock;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
-        fastcgi_param DOCUMENT_ROOT $realpath_root;
-        fastcgi_ignore_client_abort on;
-	fastcgi_param REMOTE_ADDR $http_x_real_ip;
-        internal;
-    }
-
-    location ~ \.php$ {
-      return 404;
-    }
-}

+ 0 - 24
conf.d/geoserver.conf

@@ -1,24 +0,0 @@
-server {
-    listen 80;
-    listen [::]:80;
-
-    server_name geoserver.testdocker.flowdat.net;
-    return 301 https://geoserver.testdocker.flowdat.net$request_uri;
-}
-
-server {
-    listen 443 ssl;
-    listen [::]:443;
-
-    server_name geoserver.testdocker.flowdat.net;
-
-    ssl_certificate /etc/nginx/certs/fullchain.pem;
-    ssl_certificate_key /etc/nginx/certs/privkey.pem;
-
-    location / {
-            proxy_pass http://geoserver:8080;
-            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-            proxy_set_header Host $http_host;
-            proxy_redirect default;
-    }
-}

+ 0 - 26
conf.d/pma.conf

@@ -1,26 +0,0 @@
-server {
-    listen 80;
-    listen [::]:80;
-
-    server_name pma.testdocker.flowdat.net;
-    return 301 https://pma.testdocker.flowdat.net$request_uri;
-}
-
-server {
-    listen 443 ssl;
-    listen [::]:443;
-
-    server_name pma.testdocker.flowdat.net;
-
-    ssl_certificate /etc/nginx/certs/fullchain.pem;
-    ssl_certificate_key /etc/nginx/certs/privkey.pem;
-
-    location / {
-            allow 200.50.160.0/21;
-            deny all;
-            proxy_pass http://pma;
-            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-            proxy_set_header Host $http_host;
-            proxy_redirect default;
-    }
-}

+ 0 - 54
conf.d/radius.conf

@@ -1,54 +0,0 @@
-server {
-    listen 80;
-    listen [::]:80;
-
-    server_name radius.testdocker.flowdat.net;
-    return 301 https://radius.testdocker.flowdat.net$request_uri;
-}
-
-server {
-    listen 443 ssl;
-    listen [::]:443;
-
-    server_name radius.testdocker.flowdat.net;
-
-    ssl_certificate /etc/nginx/certs/fullchain.pem;
-    ssl_certificate_key /etc/nginx/certs/privkey.pem;
-
-    root /opt/radius/web;
-
-    location /bundles/ {
-        root /opt/radius/web;
-    }
-
-    location / {
-        try_files $uri /app.php$is_args$args;
-    }
-
-    # DEV
-    location ~ ^/(app_dev|config)\.php(/|$) {
-        fastcgi_pass unix:/tmp/radius/radius.sock;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
-        fastcgi_param DOCUMENT_ROOT $realpath_root;
-        fastcgi_ignore_client_abort on;
-	fastcgi_param REMOTE_ADDR $http_x_real_ip;
-    }
-
-    # PROD
-    location ~ ^/app\.php(/|$) {
-        fastcgi_pass unix:/tmp/radius/radius.sock;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
-        fastcgi_param DOCUMENT_ROOT $realpath_root;
-        fastcgi_ignore_client_abort on;
-	fastcgi_param REMOTE_ADDR $http_x_real_ip;
-        internal;
-    }
-
-    location ~ \.php$ {
-      return 404;
-    }
-}

+ 0 - 54
conf.d/stats.conf

@@ -1,54 +0,0 @@
-server {
-    listen 80;
-    listen [::]:80;
-
-    server_name stats.testdocker.flowdat.net;
-    return 301 https://stats.testdocker.flowdat.net$request_uri;
-}
-
-server {
-    listen 443 ssl;
-    listen [::]:443;
-
-    server_name stats.testdocker.flowdat.net;
-
-    ssl_certificate /etc/nginx/certs/fullchain.pem;
-    ssl_certificate_key /etc/nginx/certs/privkey.pem;
-
-    root /opt/stats/web;
-
-    location /bundles/ {
-        root /opt/stats/web;
-    }
-
-    location / {
-        try_files $uri /app.php$is_args$args;
-    }
-
-    # DEV
-    location ~ ^/(app_dev|config)\.php(/|$) {
-        fastcgi_pass unix:/tmp/stats/stats.sock;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
-        fastcgi_param DOCUMENT_ROOT $realpath_root;
-        fastcgi_ignore_client_abort on;
-	fastcgi_param REMOTE_ADDR $http_x_real_ip;
-    }
-
-    # PROD
-    location ~ ^/app\.php(/|$) {
-        fastcgi_pass unix:/tmp/stats/stats.sock;
-        fastcgi_split_path_info ^(.+\.php)(/.*)$;
-        include fastcgi_params;
-        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
-        fastcgi_param DOCUMENT_ROOT $realpath_root;
-        fastcgi_ignore_client_abort on;
-	fastcgi_param REMOTE_ADDR $http_x_real_ip;
-        internal;
-    }
-
-    location ~ \.php$ {
-      return 404;
-    }
-}

+ 0 - 25
conf.d/swagger.conf

@@ -1,25 +0,0 @@
-server {
-
-    listen 80;
-    listen [::]:80;
-
-    server_name swagger.testdocker.flowdat.net;
-    return 301 https://swagger.testdocker.flowdat.net$request_uri;
-}
-
-server {
-
-    listen 443 ssl;
-    listen [::]:443;
-
-    server_name swagger.testdocker.flowdat.net;
-
-    ssl_certificate /etc/nginx/certs/fullchain.pem;
-    ssl_certificate_key /etc/nginx/certs/privkey.pem;
-
-    root /usr/share/nginx/html;
-
-    location / {
-        proxy_pass http://swagger;
-    }
-}