Hello! Does anyone know how to change nginx.conf
could you be more specific? what kind of changes are you looking to make?
Why does it need to be changed?
To add nginx headers
What headers to achieve what exactly…?
Anyways… the config files are in /etc/nginx/conf.d. Open them in a text editor of your choice and make your desired changes. But be aware that this would be an unsupportded modification, which most likely will get overwritten during an upgrade of your box. Also we will probably not be able to help you with any of the side-effects your changes might cause
In /home/user-data/www you can add for the domain name you want a config file
<domainname.extentension>.conf
In that file, you can add headers
for example:
#add_header Content-Security-Policy-Report-Only "default-src ‘self’; font-src ‘self’; img-src ‘self’; script-src ‘self’; style-src ‘self’; report-uri
without the #
Uriports (www.uriports.com) has an option to do something with these headers (report-uri …)
Thank you
.
.
.
.
.
.