Skip to content

Commit

Permalink
disable to use https
Browse files Browse the repository at this point in the history
  • Loading branch information
sunuazizrahayu committed Dec 20, 2024
1 parent dd489b9 commit 7fa0c79
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
13 changes: 13 additions & 0 deletions Caddyfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
frankenphp
}

# The domain name of your server
:80 {
# Set the webroot to the public/ directory
root * /app/public/
# Enable compression (optional)
encode zstd br gzip
# Execute PHP files from the public/ directory and serve assets
php_server
}
7 changes: 4 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ services:
container_name: frankenphp
ports:
- 80:80
- 443:443
- 443:443/udp
# - 443:443
# - 443:443/udp
volumes:
- ./:/app
- ./:/app/public
- ./Caddyfile:/etc/caddy/Caddyfile
File renamed without changes.

0 comments on commit 7fa0c79

Please sign in to comment.