#9750 [stg] reverse proxy for languages.stg.fp.o not working
Closed: Fixed 3 years ago by kevin. Opened 3 years ago by darknao.

this URL https://languages.stg.fedoraproject.org/ should redirect to openshift app languages, but is not.
Sounds like the reverse proxy configuration is not correct but I can't figure out what's missing.


Metadata Update from @pingou:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: low-gain, medium-trouble, ops

3 years ago

My first guess is we have 2 httpd config file for the same serverName/serverAlias (caused by https://pagure.io/fedora-infra/ansible/c/d31cc6193dae77ec7b8176d6fbfbec9701efa2b2?branch=main).
The old one (/etc/httpd/conf.d/languages.fedoraproject.org.conf) don't have any reverse proxy configuration in it, and superseed the (good) one in /etc/httpd/conf.d/languages.stg.fedoraproject.org.conf.
If that is the case, please remove the old conf file, and re-run the playbook (or reload httpd).

Yes, that would be the case. ;) Thats often why the other way to fix that (have it be languages.fedoraproject.org on both stg and prod with an alias is usually better ;)

Anyhow, have cleaned it up and reloaded and it loads ok here now.

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

3 years ago

Thanks!
Do you want me to do a PR using the alias instead ? I agree it will be cleaner (but will need you to clean those files once again)

No biggie right now. I think we can just leave it and then clean all of them up to be consistent someday.

Login to comment on this ticket.

Metadata
Boards 1
ops Status: Done