Comments (4)
抱歉,看到关闭问题中有nginx配置。
但是,全部配置完成后还是 HTTP ERROR 500 错误
有个问题:
config.php 里 'base_url' => 'http://example.com/' 加不加 'http://' 或 后'/' 还是都可以
from ourls.
500的话要看具体报错信息了,你可以开启debug和nginx的error_log看看。
base_url目前必须是完整url包含'/'。
from ourls.
server {
listen 80;
server_name sicaudm.com;
root /path/to/ourls/public;
index index.php;
location / {
try_files $uri $uri/ /index.php;
}
include enablephp.conf;
}
我使用的 nginx 配置
from ourls.
感谢 takashiki 和 xiaooloong 的帮助。
问题已经解决,应该是我自己的配置问题,nginx配置好就可以了,谢谢。
from ourls.
Related Issues (16)
- 能写一些nginx的规则吗 HOT 2
- 当要转换的域名包含两个以上个参数的时候,转换不完整,被解析了 HOT 6
- 这个程序很赞 HOT 8
- 自己添加了一个获取真实 ip 的功能 HOT 3
- 虚拟主机如何安装? HOT 1
- Got "Your connection is not secure" When Visting The Demo Page HOT 1
- 在获取短链的时候 404 HOT 3
- Nginx 是否需要配置规则? HOT 2
- 安装出现500错误 HOT 16
- 请问代码下载后怎么安装? HOT 8
- 不支持php7 ? HOT 2
- test
- 希望在跳转时可以加入读秒 HOT 1
- 提示找不到类 IPSet HOT 1
- 求个安装教程哦
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ourls.