Skip to content

Commit

Permalink
chore: update proxy conf
Browse files Browse the repository at this point in the history
  • Loading branch information
louischarnay committed Feb 8, 2024
1 parent 4fc30a9 commit 0b4875d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions TP01/web/httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,8 @@ SSLRandomSeed connect builtin
ProxyPreserveHost On
ProxyPass /api backend:8080
ProxyPassReverse /api http://backend:8080
ProxyPass / frontend:8081
ProxyPassReverse / http://frontend:8081
ProxyPass / frontend:80
ProxyPassReverse / http://frontend:80
</VirtualHost>

LoadModule proxy_module modules/mod_proxy.so
Expand Down
4 changes: 1 addition & 3 deletions TP03/ansible/roles/launch-front/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@
image: "{{ FRONTEND_IMAGE }}"
state: started
networks:
- name: "{{ NETWORK_NAME }}"
ports:
- "8081:80"
- name: "{{ NETWORK_NAME }}"

0 comments on commit 0b4875d

Please sign in to comment.