Commit Graph

22 Commits

Author SHA1 Message Date
Qian Deng af7b61ebd5 Add customized config file for proxy
This is a solution for product that using harbor as proxy to add customized location

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-12-26 13:35:07 +08:00
Stéphane Albert 0d44e4f535 Send 308 status on redirect from http to https
Modify nginx configuration to use 308 instead of 301 on the http to
https redirect.
Fix problems with some clients on POST requests that are transformed to
GET on 301 redirect (per HTTP 1.1 standard).
See [RFC7538](https://tools.ietf.org/html/rfc7538).

Signed-off-by: Stéphane Albert <sheeprine@oh.its.fake.nullplace.com>
2018-10-23 20:25:35 +02:00
Qian Deng 88bb461314 Reactor backend api for authrization
1. Change backend api
2. Change frontend api
3. Change the proxy config file

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-21 14:03:17 +08:00
Qian Deng 7873a0312a Rename harbor-ui to harbor-core
1. Update the nginx.conf
2. Update Makefile
3. Update docker-compose
4. Update image name
5. Rename folder ui to core
6. Change the harbor-ui's package name to core
7. Remove unused static file on harbor-core
8. Remove unused code for harbor-portal

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-19 16:35:13 +08:00
Qian Deng 870653a5fb Update nginx config to redirect traffic to specific backend
1. Update nginx.conf file
2. Update photon makefile
3. Update global makefile

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-07 13:21:27 +08:00
Wenkai Yin 7e6a13915b Remove the URL rewrite for docker registry request
This commit redirects the request to UI directory without URL rewrite
2018-07-30 17:24:15 +08:00
Cyril Jouve 086ebbfe84 remove unused upstream 2018-05-15 14:11:28 +02:00
reasonerjt 19a13e8575 Deprivilege harbor-ui harbor-jobservice harbor-adminserver
Use non-root user to run the service within these docker images, and provide HEALTHCHECK
mechanism.
2017-11-09 03:09:09 -08:00
yixingj 28b60bd197 Update nginx images OSS to latest
1>update nginx images OSS to latest
2>Fix nginx version issue
2017-10-13 15:25:19 +08:00
yixingj 026e8e7f95 disable nginx buffer
When host in low disk status, enable the buffer will cause upload error.
2017-09-01 18:44:13 +08:00
yixingj 362bf1a83e Try to fix some wired permission error 2017-08-24 15:42:20 +08:00
Tan Jiang 885ddfddd0 enable buffer on nginx 2017-08-04 21:22:22 +08:00
Tan Jiang 785298e6b9 create reverseproxy 2017-05-02 20:27:45 +08:00
Tan Jiang 7555dd9d48 update nginx log format to include response time 2017-03-30 12:46:13 +08:00
Tan Jiang 90bc280ea1 add a 4443 ssl server to nginx config 2017-03-24 13:16:48 +08:00
Tan Jiang 9d87279152 fix #1570, #1628 2017-03-16 16:09:05 +08:00
Tan Jiang 6454ccfc3a fix the 'v2' URL conflict issue, and remove the work around in token service code 2017-02-27 21:01:26 +08:00
Tan Jiang 8cbfffa9c8 deploy notary within Harbor 2017-02-20 19:31:28 +08:00
Wenkai Yin d6d4711700 1.fix issue: deleting repo action will fall in deadlock between two Harbor if they are configured to sync to each other 2. Filter notification request in nginx 2016-12-09 18:10:20 +08:00
Tan Jiang b92b1036bf set secure flag for cookie 2016-11-05 00:08:37 +08:00
Tan Jiang b75844e622 update ciphers for nginx 2016-10-28 18:48:12 +08:00
yhua 311cf8da07 change code 20161019 2016-10-21 18:39:10 +08:00