Skip to content

Commit 22349b4

Browse files
Uriel AlonsoUriel Alonso
authored andcommitted
Fix port for Kamal (80 instead of 3000)
1 parent f9c6f89 commit 22349b4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

config/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ builder:
2121

2222
env:
2323
clear:
24+
PORT: 80
2425
RAILS_ENV: production
2526
secret:
2627
- RAILS_MASTER_KEY

config/puma.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
threads threads_count, threads_count
3030

3131
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
32-
port ENV.fetch("PORT", 3000)
32+
port ENV.fetch("PORT", 80)
3333

3434
# Allow puma to be restarted by `bin/rails restart` command.
3535
plugin :tmp_restart

0 commit comments

Comments
 (0)