I have UCP up and running. I am trying to save a secret on the interface, but it will not let me and I do not know why. Nothing is wrong with my interface I save other secrets. Just when I try to save this code. I saved it before in another swarm. Would anyone know why?
File name: rc-site.conf
upstream backend {
server rocket-chat:3000;
}
server {
listen 443;
server_name www.rocketchatwebsite.com;
error_log /var/log/nginx/rocketchat.access.log;
ssl on;
ssl_certificate /run/secrets/rc.crt;
ssl_certificate_key /run/secrets/rc.key;
ssl_client_certificate /run/secrets/ca.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # don’t use SSLv3 ref: POODLE
location / {
proxy_pass http://backend/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “upgrade”;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forward-Proto http;
proxy_set_header X-Nginx-Proxy true;
proxy_redirect off;
}
}