MrMEEE / awx-rpm-v2

AWX-RPM Reignited
GNU Affero General Public License v3.0
36 stars 11 forks source link

csrf and firewall #28

Open JakobHolstDK opened 5 months ago

JakobHolstDK commented 5 months ago

Installed the awxrpm on a "virgin" rhel9 . two issues: I had to add a firewall opening on 8043 by hand and I had to add this in /etc/tower/settings.py ALLOWED_HOSTS = ['awxrpm.openknowit.com'] CSRF_TRUSTED_ORIGINS = ["https://awxrpm.openknowit.com"] The ALLOWED_HOSTS is just a goog practice not to use "*" and the CSRF was needed in my traefik tls terminating environment.

MrMEEE commented 5 months ago

Thanks Jakob

I'll include this as soon as I have the time..