1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- server {
- listen 8700;
- charset utf-8;
- location = / {
- rewrite / /oe-wap/ last;
- }
- location ^~ /electron-config/ {
- alias /home/admin/project/examcloud/static-new/electron-config/;
- }
- location = /photo-upload {
- rewrite /photo-upload /photo-upload/ last;
- }
- location ^~ /photo-upload {
- alias /home/admin/project/examcloud/static-new/photo-upload/dist/;
- try_files $uri $uri/ /photo-upload/index.html;
- }
- location = /admin-web {
- rewrite /admin-web /admin-web/ last;
- }
- location ^~ /admin-web {
- alias /home/admin/project/examcloud/static-new/examcloud-admin-web/dist/;
- try_files $uri $uri/ /admin-web/index.html;
- }
- location = /oe-wap {
- rewrite /oe-wap /oe-wap/ last;
- }
- location ^~ /oe-wap {
- alias /home/admin/project/examcloud/static-new/student-client-wap/dist/;
- try_files $uri $uri/ /oe-wap/index.html;
- }
- location = /oe-web {
- rewrite /oe-web /oe-web/ last;
- }
- location ^~ /oe-web {
- alias /home/admin/project/examcloud/static-new/student-client/dist/;
- try_files $uri $uri/ /oe-web/index.html;
- }
- }
|