Closed ewerton91 closed 1 year ago
Bom Dia... Eu acho.... que tu não esta passando todos os parametros.. Faltaram: proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_cache_bypass $http_upgrade;
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Estou com um erro na hora de executar o comando "sudo nginx -t" na instalação Ja tentei remover o "/" adicionar e remover o "}" mudar o proxy, adicionar e remover o "......", porem sempre aparece um erro diferente. A configuracao abaixo foi o mais proximo de funcionar!
sempre aparece o erro= nginx: [emerg] invalid number of arguments in "location" directive in /etc/nginx/sites-enabled/whaticket-frontend:4 nginx: configuration file /etc/nginx/nginx.conf test failed
meu whaticket-backend= _server { servername api.whatsnetwork.shop;
_location / { proxypass http://127.0.0.1:8080; } }