|
29 | 29 | "additionalProperties": false, |
30 | 30 | "minProperties": 1, |
31 | 31 | "properties": { |
32 | | - "domain_names": { |
33 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/domain_names" |
| 32 | + "incoming_port": { |
| 33 | + "$ref": "../../../../components/stream-object.json#/properties/incoming_port" |
34 | 34 | }, |
35 | | - "forward_scheme": { |
36 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/forward_scheme" |
| 35 | + "forwarding_host": { |
| 36 | + "$ref": "../../../../components/stream-object.json#/properties/forwarding_host" |
37 | 37 | }, |
38 | | - "forward_host": { |
39 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/forward_host" |
| 38 | + "forwarding_port": { |
| 39 | + "$ref": "../../../../components/stream-object.json#/properties/forwarding_port" |
40 | 40 | }, |
41 | | - "forward_port": { |
42 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/forward_port" |
| 41 | + "tcp_forwarding": { |
| 42 | + "$ref": "../../../../components/stream-object.json#/properties/tcp_forwarding" |
43 | 43 | }, |
44 | | - "certificate_id": { |
45 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/certificate_id" |
46 | | - }, |
47 | | - "ssl_forced": { |
48 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/ssl_forced" |
49 | | - }, |
50 | | - "hsts_enabled": { |
51 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/hsts_enabled" |
52 | | - }, |
53 | | - "hsts_subdomains": { |
54 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/hsts_subdomains" |
55 | | - }, |
56 | | - "http2_support": { |
57 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/http2_support" |
58 | | - }, |
59 | | - "block_exploits": { |
60 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/block_exploits" |
| 44 | + "udp_forwarding": { |
| 45 | + "$ref": "../../../../components/stream-object.json#/properties/udp_forwarding" |
61 | 46 | }, |
62 | | - "caching_enabled": { |
63 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/caching_enabled" |
64 | | - }, |
65 | | - "allow_websocket_upgrade": { |
66 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/allow_websocket_upgrade" |
67 | | - }, |
68 | | - "access_list_id": { |
69 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/access_list_id" |
70 | | - }, |
71 | | - "advanced_config": { |
72 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/advanced_config" |
73 | | - }, |
74 | | - "enabled": { |
75 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/enabled" |
| 47 | + "certificate_id": { |
| 48 | + "$ref": "../../../../components/stream-object.json#/properties/certificate_id" |
76 | 49 | }, |
77 | 50 | "meta": { |
78 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/meta" |
79 | | - }, |
80 | | - "locations": { |
81 | | - "$ref": "../../../../components/proxy-host-object.json#/properties/locations" |
| 51 | + "$ref": "../../../../components/stream-object.json#/properties/meta" |
82 | 52 | } |
83 | 53 | } |
84 | 54 | } |
|
94 | 64 | "default": { |
95 | 65 | "value": { |
96 | 66 | "id": 1, |
97 | | - "created_on": "2024-10-08T23:23:03.000Z", |
98 | | - "modified_on": "2024-10-08T23:26:37.000Z", |
| 67 | + "created_on": "2024-10-09T02:33:45.000Z", |
| 68 | + "modified_on": "2024-10-09T02:33:45.000Z", |
99 | 69 | "owner_user_id": 1, |
100 | | - "domain_names": ["test.example.com"], |
101 | | - "forward_host": "192.168.0.10", |
102 | | - "forward_port": 8989, |
103 | | - "access_list_id": 0, |
104 | | - "certificate_id": 0, |
105 | | - "ssl_forced": false, |
106 | | - "caching_enabled": false, |
107 | | - "block_exploits": false, |
108 | | - "advanced_config": "", |
| 70 | + "incoming_port": 9090, |
| 71 | + "forwarding_host": "router.internal", |
| 72 | + "forwarding_port": 80, |
| 73 | + "tcp_forwarding": true, |
| 74 | + "udp_forwarding": false, |
109 | 75 | "meta": { |
110 | 76 | "nginx_online": true, |
111 | 77 | "nginx_err": null |
112 | 78 | }, |
113 | | - "allow_websocket_upgrade": false, |
114 | | - "http2_support": false, |
115 | | - "forward_scheme": "http", |
116 | 79 | "enabled": true, |
117 | | - "hsts_enabled": false, |
118 | | - "hsts_subdomains": false, |
119 | 80 | "owner": { |
120 | 81 | "id": 1, |
121 | | - "created_on": "2024-10-07T22:43:55.000Z", |
122 | | - "modified_on": "2024-10-08T12:52:54.000Z", |
| 82 | + "created_on": "2024-10-09T02:33:16.000Z", |
| 83 | + "modified_on": "2024-10-09T02:33:16.000Z", |
123 | 84 | "is_deleted": false, |
124 | 85 | "is_disabled": false, |
125 | 86 | "email": "admin@example.com", |
126 | 87 | "name": "Administrator", |
127 | | - "nickname": "some guy", |
128 | | - "avatar": "//www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?default=mm", |
| 88 | + "nickname": "Admin", |
| 89 | + "avatar": "", |
129 | 90 | "roles": ["admin"] |
130 | 91 | }, |
131 | | - "certificate": null, |
132 | | - "access_list": null |
| 92 | + "certificate_id": 0 |
133 | 93 | } |
134 | 94 | } |
135 | 95 | }, |
|
0 commit comments