Nicolae Claudius
13 years ago
8 changed files with 36 additions and 21 deletions
@ -1,9 +0,0 @@ |
|||||||
server { |
|
||||||
listen 80; |
|
||||||
server_name domain.com; |
|
||||||
|
|
||||||
location / { |
|
||||||
root /var/www/apps/entrydns/current/public; |
|
||||||
passenger_enabled on; |
|
||||||
} |
|
||||||
} |
|
@ -0,0 +1,16 @@ |
|||||||
|
server { |
||||||
|
listen 213.229.74.105:80; |
||||||
|
server_name entrydns.net; |
||||||
|
server_name www.entrydns.net; |
||||||
|
|
||||||
|
# max body size |
||||||
|
client_max_body_size 1m; |
||||||
|
|
||||||
|
location / { |
||||||
|
proxy_set_header X-Forwarded-Server $host; |
||||||
|
proxy_set_header X-Forwarded-Host $host; |
||||||
|
proxy_set_header X-Real-IP $remote_addr; |
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
||||||
|
proxy_pass http://127.0.0.1; |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,8 @@ |
|||||||
|
default_ttl: 3600 |
||||||
|
min_ttl: 60 |
||||||
|
ns: |
||||||
|
- ns1.entrydns.net |
||||||
|
- ns2.entrydns.net |
||||||
|
# - ns3.entrydns.net |
||||||
|
# - ns4.entrydns.net |
||||||
|
default_prio: 10 |
@ -1,8 +0,0 @@ |
|||||||
default_ttl: 2000 |
|
||||||
min_ttl: 1000 |
|
||||||
ns: |
|
||||||
- ns1.ourdomain.com |
|
||||||
- ns2.ourdomain.com |
|
||||||
- ns3.ourdomain.com |
|
||||||
- ns4.ourdomain.com |
|
||||||
default_prio: 10 |
|
@ -1,2 +1,3 @@ |
|||||||
Use this README file to introduce your application and point to useful places in the API for learning more. |
# Simple API |
||||||
Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. |
|
||||||
|
curl -H "Accept: application/json" -X PUT -d "" http://entrydns/records/modify/TOKEN |
||||||
|
Loading…
Reference in new issue