eclipse加速/Nginx配置跨域代理

时间:2023-03-08 16:42:55

下班时间到啦!

——下班都是他们的,而我,还是什么都没有。


eclipse加速

去掉包含js文件的包的js验证,否则每次启动都需要进行校验(右击项目->properties)

![enter image description here](https://geekfeier.github.io/onlineImgs/eclipse1.png)

![enter image description here](https://geekfeier.github.io/onlineImgs/eclipse2.png)

![enter image description here](https://geekfeier.github.io/onlineImgs/eclipse3.png)

### Nginx配置跨域代理
将Nginx配置到接口域名即可(D:\nginx-1.9.5\conf\nginx.conf)
![enter image description here](https://geekfeier.github.io/onlineImgs/nginxconf.png)

  • 在nginx路径下,命令:nginx -t (查看nginx的状态是否成功)
  • 可删除服务下的nginx,然后自己安装则可重新进入服务