Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing http redirection to allow certbot automatic renewal #96

Merged
merged 3 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/deploy-api-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- '.github/workflows/deploy-api-client.yml'
- 'docker-compose.yaml'
workflow_dispatch:
schedule:
- cron: '0 0 15 * *'

permissions:
actions: write
Expand Down Expand Up @@ -53,3 +55,15 @@ jobs:
docker-compose rm -f
docker-compose build --no-cache
docker-compose up -d

- name: Cleanup unused docker images, volumes and build cache
uses: appleboy/[email protected]
with:
host: ${{ secrets.DEPLOY_HOST_DNS }}
username: ${{ secrets.DEPLOY_USERNAME }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
script: |
docker container prune -f
docker image prune -f
docker volume prune -f
docker builder prune -f
6 changes: 0 additions & 6 deletions client/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ http {
include mime.types;
sendfile on;

server {
listen 8080;
server_name substrait-fiddle.com;
return 301 https://$host$request_uri;
}

server {
listen 443 ssl;

Expand Down
1 change: 0 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ services:
args:
- VITE_SESSION_SECRET=$VITE_SESSION_SECRET
ports:
- "80:8080"
- "443:443"
networks:
- fiddle-network
Expand Down
Loading