Gradle setup (#2)
Build and Deploy Java Gradle Application / build-and-deploy (push) Successful in 1m47s
Build and Deploy Java Gradle Application / build-and-deploy (push) Successful in 1m47s
This commit was merged in pull request #2.
This commit is contained in:
1 parent
3b579fdb6b
commit
34edf9cd1b
30 files changed
+547
-455
No files matched your search
@@ -20,7 +20,7 @@ http {
|
||||
server_name codiki.org;
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
# Fallback to default language if no preference defined by browser
|
||||
# Fallback to default language if no preference defined by browser
|
||||
if ($accept_language ~ "^$") {
|
||||
set $accept_language "fr";
|
||||
}
|
||||
@@ -44,11 +44,11 @@ http {
|
||||
}
|
||||
|
||||
location ~ ^/api {
|
||||
proxy_pass http://192.168.1.154:50011;
|
||||
proxy_pass http://codiki-backend:8080;
|
||||
proxy_set_header Host $host:$server_port;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user