-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
用 systemd 启动 deepin dde23 ,不过有点灵车,dde桌面运行不正常
- Loading branch information
1 parent
bffa975
commit c1faa32
Showing
26 changed files
with
758 additions
and
28 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
xterm |
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,102 @@ | ||
server { | ||
#auth_basic "Login"; | ||
#auth_basic_user_file /etc/nginx/.htpasswd; | ||
listen 3000 default_server; | ||
listen [::]:3000 default_server; | ||
location / { | ||
proxy_http_version 1.1; | ||
proxy_set_header Host $host; | ||
proxy_set_header Upgrade $http_upgrade; | ||
proxy_set_header Connection "upgrade"; | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
proxy_set_header X-Forwarded-Proto $scheme; | ||
proxy_set_header Cookie ""; | ||
proxy_read_timeout 3600s; | ||
proxy_send_timeout 3600s; | ||
add_header 'Access-Control-Allow-Origin' '*' always; | ||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; | ||
add_header 'Access-Control-Allow-Headers' 'Authorization,Content-Type,Accept,Origin,User-Agent,DNT,Cache-Control,X-Mx-ReqToken,Keep-Alive,X-Requested-With,If-Modified-Since'; | ||
add_header 'Access-Control-Allow-Credentials' 'true'; | ||
add_header 'Cross-Origin-Embedder-Policy' 'require-corp'; | ||
add_header 'Cross-Origin-Opener-Policy' 'same-origin'; | ||
add_header 'Cross-Origin-Resource-Policy' 'same-site'; | ||
proxy_pass http://127.0.0.1:6900; | ||
proxy_buffering off; | ||
} | ||
|
||
location SUBFOLDERwebsockify { | ||
proxy_http_version 1.1; | ||
proxy_set_header Host $host; | ||
proxy_set_header Upgrade $http_upgrade; | ||
proxy_set_header Connection "upgrade"; | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
proxy_set_header X-Forwarded-Proto $scheme; | ||
proxy_set_header Cookie ""; | ||
proxy_read_timeout 3600s; | ||
proxy_send_timeout 3600s; | ||
add_header 'Access-Control-Allow-Origin' '*' always; | ||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; | ||
add_header 'Access-Control-Allow-Headers' 'Authorization,Content-Type,Accept,Origin,User-Agent,DNT,Cache-Control,X-Mx-ReqToken,Keep-Alive,X-Requested-With,If-Modified-Since'; | ||
add_header 'Access-Control-Allow-Credentials' 'true'; | ||
add_header 'Cross-Origin-Embedder-Policy' 'require-corp'; | ||
add_header 'Cross-Origin-Opener-Policy' 'same-origin'; | ||
add_header 'Cross-Origin-Resource-Policy' 'same-site'; | ||
proxy_pass http://127.0.0.1:6901; | ||
proxy_buffering off; | ||
} | ||
} | ||
|
||
server { | ||
#auth_basic "Login"; | ||
#auth_basic_user_file /etc/nginx/.htpasswd; | ||
listen 3001 ssl; | ||
listen [::]:3001 ssl; | ||
ssl_certificate /config/ssl/cert.pem; | ||
ssl_certificate_key /config/ssl/cert.key; | ||
location / { | ||
proxy_http_version 1.1; | ||
proxy_set_header Host $host; | ||
proxy_set_header Upgrade $http_upgrade; | ||
proxy_set_header Connection "upgrade"; | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
proxy_set_header X-Forwarded-Proto $scheme; | ||
proxy_set_header Cookie ""; | ||
proxy_read_timeout 3600s; | ||
proxy_send_timeout 3600s; | ||
add_header 'Access-Control-Allow-Origin' '*' always; | ||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; | ||
add_header 'Access-Control-Allow-Headers' 'Authorization,Content-Type,Accept,Origin,User-Agent,DNT,Cache-Control,X-Mx-ReqToken,Keep-Alive,X-Requested-With,If-Modified-Since'; | ||
add_header 'Access-Control-Allow-Credentials' 'true'; | ||
add_header 'Cross-Origin-Embedder-Policy' 'require-corp'; | ||
add_header 'Cross-Origin-Opener-Policy' 'same-origin'; | ||
add_header 'Cross-Origin-Resource-Policy' 'same-site'; | ||
proxy_pass http://127.0.0.1:6900; | ||
proxy_buffering off; | ||
} | ||
|
||
location SUBFOLDERwebsockify { | ||
proxy_http_version 1.1; | ||
proxy_set_header Host $host; | ||
proxy_set_header Upgrade $http_upgrade; | ||
proxy_set_header Connection "upgrade"; | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
proxy_set_header X-Forwarded-Proto $scheme; | ||
proxy_set_header Cookie ""; | ||
proxy_read_timeout 3600s; | ||
proxy_send_timeout 3600s; | ||
add_header 'Access-Control-Allow-Origin' '*' always; | ||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; | ||
add_header 'Access-Control-Allow-Headers' 'Authorization,Content-Type,Accept,Origin,User-Agent,DNT,Cache-Control,X-Mx-ReqToken,Keep-Alive,X-Requested-With,If-Modified-Since'; | ||
add_header 'Access-Control-Allow-Credentials' 'true'; | ||
add_header 'Cross-Origin-Embedder-Policy' 'require-corp'; | ||
add_header 'Cross-Origin-Opener-Policy' 'same-origin'; | ||
add_header 'Cross-Origin-Resource-Policy' 'same-site'; | ||
proxy_pass http://127.0.0.1:6901; | ||
proxy_buffering off; | ||
} | ||
} | ||
|
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,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openbox_menu xmlns="http://openbox.org/3.4/menu"> | ||
<menu id="root-menu" label="MENU"> | ||
<item label="xterm" icon="/usr/share/pixmaps/xterm-color_48x48.xpm"><action name="Execute"><command>/usr/bin/xterm</command></action></item> | ||
</menu> | ||
</openbox_menu> |
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
Oops, something went wrong.