Skip to content

Instantly share code, notes, and snippets.

@xrd
Created April 5, 2021 00:37
Show Gist options
  • Save xrd/e8142814094c1ca915e4866525a407eb to your computer and use it in GitHub Desktop.
Save xrd/e8142814094c1ca915e4866525a407eb to your computer and use it in GitHub Desktop.
$ dokku proxy:build-config nathan-test
This is not a git repository
-----> Ensuring network configuration is in sync for nathan-test
-----> Configuring nathan-test.paas.vivoh.com...(using built-in template)
-----> Configuring thehartford.vivoh.com...(using built-in template)
-----> Configuring v1.thehartford.vivoh.com...(using built-in template)
-----> Creating https nginx.conf
Enabling HSTS
Reloading nginx$ dokku proxy:build-config nathan-test
This is not a git repository
-----> Ensuring network configuration is in sync for nathan-test
-----> Configuring nathan-test.paas.xxxxxx.com...(using built-in template)
-----> Configuring aaaaaaaa.xxxxxx.com...(using built-in template)
-----> Configuring v1.aaaaaaaa.xxxxxx.com...(using built-in template)
-----> Creating https nginx.conf
Enabling HSTS
Reloading nginx
! No nginx config found for kiwi
! Failed to validate nginx config for asdasdadads-gggggg. Contents below...
server {
listen [::]:80;
listen 80;
server_name asdasdadads-gggggg.paas.xxxxxx.com msgggggg.xxxxxx.com;
access_log /var/log/nginx/asdasdadads-gggggg-access.log;
error_log /var/log/nginx/asdasdadads-gggggg-error.log;
location / {
gzip on;
gzip_min_length 1100;
gzip_buffers 4 32k;
gzip_types text/css text/javascript text/xml text/plain text/x-component application/javascript application/x-javascript application/json application/xml application/rss+xml font/truetype application/x-font-ttf font/opentype application/vnd.ms-fontobject image/svg+xml;
gzip_vary on;
gzip_comp_level 6;
proxy_pass http://asdasdadads-gggggg-5000;
proxy_http_version 1.1;
proxy_read_timeout 60s;
proxy_buffer_size <no value>;
proxy_buffering <no value>;
proxy_buffers <no value>;
proxy_busy_buffers_size <no value>;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For <no value>;
proxy_set_header X-Forwarded-Port <no value>;
proxy_set_header X-Forwarded-Proto <no value>;
proxy_set_header X-Request-Start $msec;
}
include /home/dokku/asdasdadads-gggggg/nginx.conf.d/*.conf;
error_page 400 401 402 403 405 406 407 408 409 410 411 412 413 414 415 416 417 418 420 422 423 424 426 428 429 431 444 449 450 451 /400-error.html;
location /400-error.html {
root /var/lib/dokku/data/nginx-vhosts/dokku-errors;
internal;
}
error_page 404 /404-error.html;
location /404-error.html {
root /var/lib/dokku/data/nginx-vhosts/dokku-errors;
internal;
}
error_page 500 501 502 503 504 505 506 507 508 509 510 511 /500-error.html;
location /500-error.html {
root /var/lib/dokku/data/nginx-vhosts/dokku-errors;
internal;
}
}
upstream asdasdadads-gggggg-5000 {
server 172.17.0.12:5000;
}
! No nginx config found for msgggggg-chat
! No nginx config found for testcasedb.paas.xxxxxx.com
! No nginx config found for testlink.paas.xxxxxx.com
! No nginx config found for two.encoder.aaaaaaaa.xxxxxx.com
! No nginx config found for v2.aaaaaaaa.xxxxxx.com
! No nginx config found for v3.aaaaaaaa.xxxxxx.com
! No nginx config found for v4.aaaaaaaa.xxxxxx.com
! No nginx config found for v5.aaaaaaaa.xxxxxx.com
! No nginx config found for v6.aaaaaaaa.xxxxxx.com
! No nginx config found for v7.aaaaaaaa.xxxxxx.com
! No nginx config found for v8.aaaaaaaa.xxxxxx.com
! No nginx config found for v9.aaaaaaaa.xxxxxx.com
! No nginx config found for sdadas
! No nginx config found for vpr
! No nginx config found for dddd-app
nginx: [emerg] invalid number of arguments in "proxy_buffer_size" directive in /home/dokku/asdasdadadsx-gggggg/nginx.conf:21
nginx: configuration file /etc/nginx/nginx.conf test failed
2021/04/05 00:32:23 exit status 1
! exit status 1
! No nginx config found for kiwi
! Failed to validate nginx config for microsoft-teams. Contents below...
server {
listen [::]:80;
listen 80;
server_name microsoft-teams.paas.vivoh.com msteams.vivoh.com;
access_log /var/log/nginx/microsoft-teams-access.log;
error_log /var/log/nginx/microsoft-teams-error.log;
location / {
gzip on;
gzip_min_length 1100;
gzip_buffers 4 32k;
gzip_types text/css text/javascript text/xml text/plain text/x-component application/javascript application/x-javascript application/json application/xml application/rss+xml font/truetype application/x-font-ttf font/opentype application/vnd.ms-fontobject image/svg+xml;
gzip_vary on;
gzip_comp_level 6;
proxy_pass http://microsoft-teams-5000;
proxy_http_version 1.1;
proxy_read_timeout 60s;
proxy_buffer_size <no value>;
proxy_buffering <no value>;
proxy_buffers <no value>;
proxy_busy_buffers_size <no value>;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For <no value>;
proxy_set_header X-Forwarded-Port <no value>;
proxy_set_header X-Forwarded-Proto <no value>;
proxy_set_header X-Request-Start $msec;
}
include /home/dokku/microsoft-teams/nginx.conf.d/*.conf;
error_page 400 401 402 403 405 406 407 408 409 410 411 412 413 414 415 416 417 418 420 422 423 424 426 428 429 431 444 449 450 451 /400-error.html;
location /400-error.html {
root /var/lib/dokku/data/nginx-vhosts/dokku-errors;
internal;
}
error_page 404 /404-error.html;
location /404-error.html {
root /var/lib/dokku/data/nginx-vhosts/dokku-errors;
internal;
}
error_page 500 501 502 503 504 505 506 507 508 509 510 511 /500-error.html;
location /500-error.html {
root /var/lib/dokku/data/nginx-vhosts/dokku-errors;
internal;
}
}
upstream microsoft-teams-5000 {
server 172.17.0.12:5000;
}
! No nginx config found for msteams-chat
! No nginx config found for testcasedb.paas.vivoh.com
! No nginx config found for testlink.paas.vivoh.com
! No nginx config found for two.encoder.thehartford.vivoh.com
! No nginx config found for v2.thehartford.vivoh.com
! No nginx config found for v3.thehartford.vivoh.com
! No nginx config found for v4.thehartford.vivoh.com
! No nginx config found for v5.thehartford.vivoh.com
! No nginx config found for v6.thehartford.vivoh.com
! No nginx config found for v7.thehartford.vivoh.com
! No nginx config found for v8.thehartford.vivoh.com
! No nginx config found for v9.thehartford.vivoh.com
! No nginx config found for viz
! No nginx config found for vpr
! No nginx config found for zoom-app
nginx: [emerg] invalid number of arguments in "proxy_buffer_size" directive in /home/dokku/microsoft-teams/nginx.conf:21
nginx: configuration file /etc/nginx/nginx.conf test failed
2021/04/05 00:32:23 exit status 1
! exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment