generated from QubitPi/jersey-webservice-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
110 additions
and
71 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,4 @@ | |
"http://www.puppycrawl.com/dtds/suppressions_1_0.dtd"> | ||
|
||
<suppressions> | ||
|
||
</suppressions> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
server { | ||
listen 80 default_server; | ||
listen [::]:80 default_server; | ||
|
||
root /var/www/html; | ||
|
||
index index.html index.htm index.nginx-debian.html; | ||
|
||
server_name _; | ||
|
||
location / { | ||
try_files $uri $uri/ =404; | ||
} | ||
} | ||
|
||
server { | ||
root /var/www/html; | ||
|
||
index index.html index.htm index.nginx-debian.html; | ||
server_name astraios.nexusgraph.com; | ||
|
||
location / { | ||
proxy_pass http://localhost:8080; | ||
} | ||
|
||
listen [::]:443 ssl ipv6only=on; | ||
listen 443 ssl; | ||
ssl_certificate /etc/ssl/certs/server.crt; | ||
ssl_certificate_key /etc/ssl/private/server.key; | ||
} | ||
server { | ||
if ($host = astraios.nexusgraph.com) { | ||
return 301 https://$host$request_uri; | ||
} | ||
|
||
listen 80 ; | ||
listen [::]:80 ; | ||
server_name astraios.nexusgraph.com; | ||
return 404; | ||
} |
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
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