Ask Your Question

Change nginx configuration file to use port 8082

asked 2018-05-31 10:16:06 -0600

ck12986 gravatar image

Nginx uses port 80, I am trying to make nginx use port 8082 by modifying /etc/puppetlabs/nginx/conf.d/http_redirect.conf file, but every time puppet service restarts, it will overwrite the file and erase my modification, my question is where is the file that overwrites the /etc/puppetlabs/nginx/conf.d/http_redirect.conf file so I can make these changes permanent.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-01 13:19:09 -0600

ck12986 gravatar image

vi /opt/puppetlabs/./puppet/modules/puppet_enterprise/manifests/profile/console/proxy/http_redirect.pp and change to the desired port.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-05-31 10:16:06 -0600

Seen: 124 times

Last updated: Jun 01