This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Replace with your SQL commands */ | |
CREATE TABLE lga( | |
id VARCHAR PRIMARY KEY, | |
name VARCHAR, | |
slug VARCHAR, | |
state_id VARCHAR, | |
created_at TIMESTAMPTZ DEFAULT NOW(), | |
updated_at TIMESTAMPTZ DEFAULT NOW() | |
); | |
INSERT INTO lga (id,state_id, name) VALUES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name admin.mysite.com www.admin.mysite.com; | |
} | |
server{ | |
location / { | |
proxy_set_header Host $host; | |
proxy_pass http://127.0.0.1:3000; | |
proxy_redirect off; |