Skip to content

Commit

Permalink
deploy pywb conf for nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
westfood committed Jul 28, 2024
1 parent c1cf658 commit 1ef9067
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ci/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@
name: pywb
virtualenv: "{{ pywb_dir }}/venv"

- name: deploy nginx configuration for pywb-test
become: "{{ sudo | default(true) }}"
copy:
dest: /etc/nginx/sites-available/pywb-test
content: |
server {
listen 80;
server_name pywb-test;
location / {
proxy_pass http://127.0.0.1:8080
# - name: "Prepare configuration for static web."
# copy:
# dest: /home/ansible/seeder/static-nginx.conf
Expand Down

0 comments on commit 1ef9067

Please sign in to comment.