desarrollar con https, ver https://0xacab.org/sutty/sutty.local
This commit is contained in:
parent
c2b695b017
commit
6434d130be
3 changed files with 9 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -39,3 +39,6 @@
|
|||
yarn-debug.log*
|
||||
.yarn-integrity
|
||||
/vendor
|
||||
|
||||
*.key
|
||||
*.crt
|
||||
|
|
3
Makefile
3
Makefile
|
@ -3,6 +3,9 @@ mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
|
|||
root_dir := $(patsubst %/,%,$(dir $(mkfile_path)))
|
||||
include $(root_dir)/.env
|
||||
|
||||
serve:
|
||||
bundle exec rails s -b "ssl://0.0.0.0:3000?key=config/sutty.local.key&cert=config/sutty.local.crt"
|
||||
|
||||
# Limpiar los archivos de testeo
|
||||
clean:
|
||||
rm -rf _sites/test-* _deploy/test-*
|
||||
|
|
|
@ -57,10 +57,10 @@ development:
|
|||
|
||||
# Reference: https://webpack.js.org/configuration/dev-server/
|
||||
dev_server:
|
||||
https: false
|
||||
host: localhost
|
||||
https: true
|
||||
host: sutty.local
|
||||
port: 3035
|
||||
public: localhost:3035
|
||||
public: sutty.local:3035
|
||||
hmr: false
|
||||
# Inline should be set to true if using HMR
|
||||
inline: true
|
||||
|
|
Loading…
Reference in a new issue