Securing Cadence Web Using NGINX

  1. Create a file called /etc/nginx/.htpasswd which will store the username and password in the format: <username>:<password>
  2. Create the following entries in the NGINX configuration file (/etc/nginx/nginx.conf):
……………
……………
server {
listen 443;
server_name <cadence_web_url>;
…………
…………
location / {
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_pass http://127.0.0.1:8088;
…………
…………
}
}
……………
……………

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Instaclustr

Instaclustr

Managed platform for open source technologies including Apache Cassandra, Apache Kafka, Apache ZooKeepere, Redis, Elasticsearch and PostgreSQL